Title: Current Post Shortcode
Author: Md Forid Uddin
Published: <strong>Ẹrẹ́nà 12, 2025</strong>
Last modified: Ṣẹrẹ 13, 2026

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/current-post-shortcode/assets/banner-772x250.jpg?rev=3436544)

![](https://ps.w.org/current-post-shortcode/assets/icon-256x256.jpg?rev=3436544)

# Current Post Shortcode

 Láti ọwọ́ [Md Forid Uddin](https://profiles.wordpress.org/mdforiduddin/)

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

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

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

## Àpèjúwe

The “Current Post Shortcode” plugin allows you to display post titles and custom
field values using simple shortcodes. You can display the current postÌtumọ̀ Yorùbá:’
s title or meta information, or specify a post ID to retrieve data from a specific
post.

#### Display Current Post Title and Meta Information:

 * **Post Title:** `[current_post]`  Outputs the current post title, e.g., “Hello
   World”
 * **Post Meta** (Custom Field): `[current_post meta="custom_field"]`  Outputs the
   value of the custom field

#### Display Data from a Specific Post ID:

 * **Post Title:** `[current_post id="123"]`  Outputs the title of the post with
   ID “123”
 * **Post Meta** (Custom Field): `[current_post id="123" meta="custom_field"]`  
   Outputs the value of the custom field in the post with ID “123”

#### Display Fallback Meta Value:

    ```
    [current_post meta="custom_field" default="Default Value"]  → Displays "Default Value" if the custom field is empty
    ```

#### Display Default Value for Zero Meta Value:

    ```
    [current_post meta="custom_field" default="Default Value" skip="true"]  → Displays "Default Value" if the custom field value is zero
    ```

## Ìgbéwọlẹ̀

#### From your WordPress dashboard:

 * Go to Plugins > Add New.
 * Search for ‘Current Post Shortcode’.
 * Click “Install Now”, then “Activate Plugin”.

#### Or **install it manually**:

 * Download the plugin ZIP file from [WordPress Directory](https://wordpress.org/plugins/current-post-shortcode/).
 * Log in to your WordPress Dashboard, navigate to Plugins > Add New, and click 
   the “Upload Plugin” button.
 * Choose the plugin ZIP file and click “Install Now”.
 * After installation, click “Activate Plugin”.

## FAQ

### How do I use the shortcodes?

 * Use `[current_post]` to display the title of the current post.
 * Use `[current_post meta="custom_field"]` to display a custom field value.
 * To display data from a specific post, use the `id` attribute.

### Can I use this shortcode in widgets or other areas of the site?

Yes, you can use these shortcodes anywhere shortcodes are supported in WordPress,
such as posts, pages, widgets, Gutenberg blocks, and page builders like Elementor,
Divi, WPBakery, etc.

### How do I handle empty or zero meta values?

You can use the `skip` attribute to skip empty or zero values and optionally display
a default value.

### Is there a fallback for meta values?

Yes, you can use the `default` attribute to provide a fallback value for empty meta
values.

## À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

“Current 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

 *   [ Md Forid Uddin ](https://profiles.wordpress.org/mdforiduddin/)

[Túmọ̀ “Current Post Shortcode” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/current-post-shortcode)

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

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

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

#### 3.1.0 Ìtumọ̀ Yorùbá: – 14/01/2026

 * Added Shortcode functionality for displaying current post information.
 * Added support for displaying meta values with fallback options.

#### 3.0.0 Ìtumọ̀ Yorùbá: – 13/01/2026

 * Improved shortcode functionality to support additional attributes.
 * Enhanced compatibility with the latest WordPress versions.
 * Added fallback meta value for better user experience.

#### 1.0.0 Ìtumọ̀ Yorùbá: – 11/03/2025

 * Initial release of the plugin.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **3.1.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **oṣù 7 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **50+**
 *  Ẹ̀yà WordPress ** 6.7 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.9.7**
 *  Ẹ̀yà PHP ** 7.4 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/current-post-shortcode/)
 * Àwọn àmì
 * [custom field](https://yor.wordpress.org/plugins/tags/custom-field/)[post meta](https://yor.wordpress.org/plugins/tags/post-meta/)
   [post title](https://yor.wordpress.org/plugins/tags/post-title/)[shortcode](https://yor.wordpress.org/plugins/tags/shortcode/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/current-post-shortcode/advanced/)

## Àwọn ìbò

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

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

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

## Àwọn Olùkópa

 *   [ Md Forid Uddin ](https://profiles.wordpress.org/mdforiduddin/)

## Ì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/current-post-shortcode/)