Title: One-liners
Author: Brent Maxwell
Published: <strong>Ẹrẹ́nà 17, 2015</strong>
Last modified: Ẹrẹ́nà 20, 2015

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://s.w.org/plugins/geopattern-icon/one-liners.svg)

# One-liners

 Láti ọwọ́ [Brent Maxwell](https://profiles.wordpress.org/thebrent/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/one-liners.3.1.0.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/one-liners/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/one-liners/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/one-liners/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/one-liners/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/one-liners/)

## Àpèjúwe

A custom post type, shortcode, and widget to display random one-line quips on your
site. Can be used for random quotes, jokes, etc.

### Use and Options

#### Options

Options are accessible under the ‘Oneliners’ menu. The only option is the slug for
the post type.

#### Widget

The widget has only two options: “Title” and “Display as permalink”.

#### Shortcode

    ```
    random-oneliner
    ```

The shortcode can take any parameters that the [`WP_Query()`](https://codex.wordpress.org/Class_Reference/WP_Query#Parameters)
object can take, with the exception of `post_type`. The defaults are: `posts_per_page
="1" orderby="rand"`

In addition, the `display_as_link` parameter can be set to `true` to output the 
oneliner with itÌtumọ̀ Yorùbá: ’s permalink.

## Ìgbéwọlẹ̀

 1. Upload the contents of the zip file to the `/wp-content/plugins/` directory or 
    use the WordPress plugin uploader.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  What is the format and parameters for the shortcode?

random-oneliner

The shortcode can take any parameters that the [`WP_Query()`](https://codex.wordpress.org/Class_Reference/WP_Query#Parameters)
object can take, with the exception of `post_type`. The defaults are: `posts_per_page
="1" orderby="rand"`

In addition, the `display_as_link` parameter can be set to `true` to output the 
oneliner with itÌtumọ̀ Yorùbá: ’s permalink.

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“One-liners” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí
plugin yìí.

Àwọn Olùkópa

 *   [ Brent Maxwell ](https://profiles.wordpress.org/thebrent/)

[Túmọ̀ “One-liners” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/one-liners)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/one-liners/), ṣàyẹ̀wò 
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/one-liners/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/one-liners/) nípasẹ̀
[RSS](https://plugins.trac.wordpress.org/log/one-liners/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 3.1.0

 * Added options for custom slug

#### 3.0.0

 * Total and complete update
 * Renamed to One Liners
 * Restructured the base class
 * Created a dedicated widget class
 * Activation/deactivation hook
 * Options for displaying quote as link

#### 2.0.0

 * Updated names and post type cause it was more clear

#### 1.1.1

 * security update on shortcode

#### 1.1.0

 * added initialization hook: thebrent_oneliners_init;
 * added three filter hooks: thebrent_oneliners_random_quote_args, thebrent_oneliners_random_quote,
   thebrent_oneliners_show;
 * added the ability to parametarize the shortcode

#### 1.0.0

 * moved everything into a class; added internationalization capability

#### 0.4.0

 * added widget

#### 0.3.0

 * added shortcode

#### 0.2.2

 * added post type icon

#### 0.2.1

 * added menu icons

#### 0.2.0

 * not sure why it went to 1.1, but it did

#### 0.1.0

 * First stable working version

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **3.1.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 11 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **10+**
 *  Ẹ̀yà WordPress ** 3.0.1 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **4.11**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/one-liners/)
 * Àwọn àmì
 * [one-liners](https://yor.wordpress.org/plugins/tags/one-liners/)[quotes](https://yor.wordpress.org/plugins/tags/quotes/)
   [shortcodes](https://yor.wordpress.org/plugins/tags/shortcodes/)[widgets](https://yor.wordpress.org/plugins/tags/widgets/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/one-liners/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

[Your review](https://wordpress.org/support/plugin/one-liners/reviews/#new-post)

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/one-liners/reviews/)

## Àwọn Olùkópa

 *   [ Brent Maxwell ](https://profiles.wordpress.org/thebrent/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/one-liners/)