सामुग्रीवर जा
WordPress.org

मराठी

  • थीम
  • प्लगइन
  • बातम्या
  • मद्दत
  • वर्डप्रेस बद्दल
  • मराठी कार्यसंघ
  • संपर्क करा
  • वर्डप्रेस मिळवा
वर्डप्रेस मिळवा
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
  • शेवटचा अद्यतन 6 दिवस पूर्वी
  • सक्रिय स्थापना 10+
  • वर्डप्रेस आवृत्ती 6.7 किंवा मोठा
  • परीक्षित केले आहे 6.9
  • PHP आवृत्ती 7.4 किंवा मोठा
  • भाषा
    English (US)
  • टॅग्ज:
    custom fieldpost metapost titleshortcode
  • प्रगत दृश्य

मूल्यांकन

अजून कोणतीही पुनरावलोकने सबमिट केलेली नाहीत.

माझे समीक्षा जोडा

सर्व पुनरावलोकने पहा

योगदानकर्ते

  • Md Forid Uddin

समर्थन

काहीतरी सांगायचं आहे का? मदतीची आवश्यकता आहे का?

समर्थन फोरम पहा

  • बद्दल
  • बातम्या
  • होस्टिंग
  • गोपनीयता
  • शोकेस
  • थीम्स
  • प्लगिन्स
  • पॅटर्नस्
  • शिका
  • सहाय्य
  • विकासक
  • WordPress.tv ↗
  • सहभागी व्हा
  • कार्यक्रम
  • दान करा ↗
  • भविष्यासाठी पाच
  • WordPress.com ↗
  • मॅट ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

मराठी

  • आमच्या X (एक्स) (पूर्वीचे ट्विटर) खात्याला भेट द्या
  • आमच्या ब्लूस्की खात्याला भेट द्या.
  • Visit our Mastodon account
  • आमच्या थ्रेड्स खात्याला भेट द्या.
  • आमच्या फेसबुक पेजला भेट द्या
  • आमच्या इंस्टाग्राम खात्याला भेट द्या
  • आमच्या लिंक्डइन खात्याला भेट द्या
  • आमच्या टिकटॉक अकाउंटला भेट द्या.
  • आमच्या यूट्यूब चॅनेलला भेट द्या
  • आमच्या टंबलर खात्याला भेट द्या.
कोड कविता आहे