Show Post Shortcode

Àpèjúwe

This simple shortcode plugin allows you to list posts as a bulleted list linking to the full article. You can limit
the list to posts from a specific category and you can select the number of posts to show. The order and
orderby options lets you sort the list too.

Usage is simple. Create a page or post and use the code [showposts category="2" num="4"] Ìtumọ̀ Yorùbá: – this will show
all 4 posts from category 2. Another example [showposts category="1" num="-1" orderby="date" order="DESC"]
shows all the posts from category 1 ordered by the date (newest post first).

By default, only 5 posts are shown (unless you use the num option) and sorting in by date (oldest to newest).

Example

You can see two examples of the code working at the following links:

  • https://www.xtremeps3.com/ps5-firmware-history/
  • https://www.xtremeps3.com/firmware-history/
  • https://www.xtremeps3.com/faqs/

Usage

The shortcode is [showposts]

You can use the following parameters to customize what is displayed (all are optional):

[showposts category="2" num="4" orderby="date" order="DESC"]

Set order to one of the following:

  • author Ìtumọ̀ Yorùbá: – Sort by the numeric author IDs.
  • category Ìtumọ̀ Yorùbá: – Sort by the numeric category IDs.
  • content Ìtumọ̀ Yorùbá: – Sort by content.
  • date Ìtumọ̀ Yorùbá: – Sort by creation date.
  • ID Ìtumọ̀ Yorùbá: – Sort by numeric post ID.
  • menu_order Ìtumọ̀ Yorùbá: – Sort by the menu order. Only useful with pages.
  • mime_type Ìtumọ̀ Yorùbá: – Sort by MIME type. Only useful with attachments.
  • modified Ìtumọ̀ Yorùbá: – Sort by last modified date.
  • name Ìtumọ̀ Yorùbá: – Sort by stub.
  • parent Ìtumọ̀ Yorùbá: – Sort by parent ID.
  • password Ìtumọ̀ Yorùbá: – Sort by password.
  • rand Ìtumọ̀ Yorùbá: – Randomly sort results.
  • status Ìtumọ̀ Yorùbá: – Sort by status.
  • title Ìtumọ̀ Yorùbá: – Sort by title.
  • type Ìtumọ̀ Yorùbá: – Sort by type.

    orderby can be one the following:

  • DESC

  • ASC

Ìgbéwọlẹ̀

  1. Upload show-posts-shortcode.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place [showposts category="2" num="4"] in your post or pages

À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

“Show Post Shortcode” 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ọ̀ “Show Post Shortcode” 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.