এয়া এৰি বিষয়বস্তুলৈ যাওক
WordPress.org

অসমীয়া

  • থীমসমূহ
  • প্লাগিনসমূহ
  • News
  • সাহায্য
  • বিষয়
  • অৱদান আগবঢ়াওক
  • যোগাযোগ
  • WordPress পাওক
WordPress পাওক
WordPress.org

Plugin Directory

Current Post Shortcode

  • প্লাগিন দাখিল কৰক
  • মোৰ প্ৰিয়বোৰ
  • লগ ইন কৰক
  • প্লাগিন দাখিল কৰক
  • মোৰ প্ৰিয়বোৰ
  • লগ ইন কৰক

Current Post Shortcode

Md Forid Uddin-ৰ দ্বাৰা
ডাউনল’ড কৰক
  • বিশদ বিৱৰণ
  • পৰ্য্যালোচনা
  • ইনষ্টলেশ্যন
  • বিকাশ
সাহায্য

বৰ্ণনা

The “Current Post Shortcode” plugin allows you to display post titles and custom field values using simple shortcodes. You can display the current post’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

ইনষ্টলেশ্যন

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.
  • 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”.

সঘনাই উত্থাপিত প্ৰশ্ন

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.

পৰ্য্যালোচনা

এই প্লাগিনৰ বাবে কোনো পৰ্য্যালোচনা নাই।

অৱদানকাৰী আৰু বিকাশকাৰীসকল

“Current Post Shortcode” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।

অৱদানকাৰীসকল
  • Md Forid Uddin

আপোনাৰ ভাষাত “Current Post Shortcode” অনুবাদ কৰক।

বিকাশৰ প্ৰতি আগ্ৰহী?

ক’ড ব্ৰাউজ কৰক, SVN ৰিপজিটৰী চাওক নাইবা RSS-দ্বাৰা বিকাশৰ পঞ্জী ছাবস্ক্ৰাইব কৰক।

সলনি-পঞ্জী

3.1.0 – 14/01/2026

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

3.0.0 – 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 – 11/03/2025

  • Initial release of the plugin.

মেটা

  • 3.1.0 সংস্কৰণ
  • 9 মাহ আগত শেষবাৰ আপডে’ট হৈছিল
  • সক্ৰিয় ইনষ্টলেশ্যন 50+
  • WordPress-ৰ সংস্কৰণ 6.7 বা তাতকৈ ওপৰৰ
  • ইমানলৈকে পৰীক্ষা কৰা হৈছে 6.9.10
  • PHP-ৰ সংস্কৰণ 7.4 বা তাতকৈ ওপৰৰ
  • ভাষা
    English (US)
  • custom fieldpost metapost titleshortcode
    টেগবোৰ
  • উচ্চখাপৰ ভিউ

ৰে’টিংবোৰ

এতিয়ালৈ কোনো পৰ্য্যালোচনা দাখিল কৰা হোৱা নাই।

Your review

সকলো পৰ্য্যালোচনা চাওক

অৱদানকাৰীসকল

  • Md Forid Uddin

সাহায্য

কিবা ক’বলগীয়া আছে? সহায় লাগে?

সাহায্যৰ ফ’ৰাম চাওক

  • সন্দৰ্ভ
  • বাতৰি
  • হ’ষ্টিং
  • গোপনীয়তা
  • প্ৰদৰ্শনী
  • থীমবোৰ
  • প্লাগিনবোৰ
  • আৰ্হিবোৰ
  • শিকক
  • সাহায্য
  • বিকাশকাৰী
  • WordPress.tv ↗
  • জড়িত হৈ পৰক
  • অনুষ্ঠানবোৰ
  • দান কৰক ↗
  • Swag ↗
  • WordPress.com ↗
  • মেট ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

অসমীয়া

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • আমাৰ X (আগৰ Twitter) একাউণ্টলৈ যাওক
  • আমাৰ Bluesky একাউণ্টলৈ যাওক
  • আমাৰ Mastodon একাউণ্টলৈ যাওক
  • আমাৰ Threads একাউণ্টলৈ যাওক
  • আমাৰ Facebook পৃষ্ঠালৈ যাওক
  • আমাৰ Instagram একাউণ্টলৈ যাওক
  • আমাৰ LinkedIn একাউণ্টলৈ যাওক
  • আমাৰ TikTok একাউণ্টলৈ যাওক
  • আমাৰ YouTube চেনেললৈ যাওক
  • আমাৰ Tumblr একাউণ্টলৈ যাওক
ক’ডেই কবিতা।