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.

Recent Posts Easy

Àpèjúwe

The “Recent Posts Easy” plugin provides a simple shortcode for displaying recent posts with thumbnails and meta descriptions on your WordPress site.

The shortcode accepts several attributes that allow you to customize the output, including the number of posts to display, the image size, the post type, the category, the sort order, and the maximum length of the meta description.

To use the shortcode, simply add the following code to any page or post:

[recent-posts]

You can also customize the shortcode by adding attributes, like this:

[recent-posts limit=”10Ìtumọ̀ Yorùbá: ″ image_size=”medium” post_type=”page” category=”news” order=”ASC” meta_limit=”30Ìtumọ̀ Yorùbá: ″]

To learn more about this plugin and its features, please visit our plugin page.

Usage

To use the shortcode, simply add the following code to any page or post:

[recent-posts]

This will display the 5 most recent posts with thumbnails and meta descriptions.

You can also customize the shortcode by adding attributes. Here are the available attributes:

  • limit Ìtumọ̀ Yorùbá: – The maximum number of posts to display (default is 5)
  • image_size Ìtumọ̀ Yorùbá: – The size of the thumbnail image (default is “thumbnail”)
  • post_type Ìtumọ̀ Yorùbá: – The post type to display (default is “post”)
  • category Ìtumọ̀ Yorùbá: – The category to display (default is empty)
  • order Ìtumọ̀ Yorùbá: – The sort order of the posts (default is “DESC”)
  • meta_limit Ìtumọ̀ Yorùbá: – The maximum length of the meta description (default is 15)
    For example, to display the 10 most recent pages in the “news” category with medium-sized thumbnails and longer meta descriptions, you would use the following shortcode:

    [recent-posts limit=”10Ìtumọ̀ Yorùbá: ″ image_size=”medium” post_type=”page” category=”news” order=”ASC” meta_limit=”30Ìtumọ̀ Yorùbá: ″]

Ìgbéwọlẹ̀

  1. Upload the “recent-posts-easy” folder to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.

FAQ

How do I customize the output of the shortcode?

You can customize the output by adding attributes to the shortcode. See the “Usage” section for a list of available attributes.

Can I use this shortcode in a widget or a theme file?

Yes, you can use the do_shortcode() function to embed the shortcode in a widget or a theme file. For example, you could use the following code in a widget or a template file:

À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

“Recent Posts Easy” 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

Túmọ̀ “Recent Posts Easy” sí èdè rẹ.

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

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

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

1.0

Initial release.