WordPress.org

Afrikaans

  • Temas
  • Uitbreidings
  • Nuus
  • Hulp
  • Maak kennis
  • Hoe ons werk
    • Versoeke
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Current Post Shortcode

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Current Post Shortcode

Deur Md Forid Uddin
Laai Af
  • Besonderhede
  • Aanbevelings
  • Installation
  • Ontwikkeling
Hulp

Beskrywing

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.

Shortcodes

  1. Display Current Post Title and Meta Information:

    • Post Title: [current_post]
    • Post Meta (Custom Field): [current_post meta="custom_field"]
  2. Display Data from a Specific Post ID:

    • Post Title: [current_post id="123"]
    • Post Meta: [current_post id="123" meta="custom_field"]

Installation

From your WordPress dashboard -> Go to Plugins -> Click on “Add new” -> In the Search field, enter ‘Current Post Shortcode’ and choose Current Post Shortcode. Press “Install Now” -> After installation, click “Activate”.

Or install it manually:
1. Download the plugin ZIP file from WordPress Directory.
2. Log in to your WordPress Dashboard, navigate to Plugins > Add New and click on “Upload Plugin” button at the top of the page
3. Choose the plugin ZIP file you downloaded in step 1 and click “Install Now.”
4. After the installation is complete, click the “Activate Plugin” button.

Kwel-vrae

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: [current_post id="123"] for the title or [current_post id="123" meta="custom_field"] for a custom field.

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, and more.

Aanbevelings

There are no reviews for this plugin.

Contributors & Developers

“Current Post Shortcode” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:

Contributors
  • Md Forid Uddin

Translate “Current Post Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release of the plugin.

Meta

  • Version 1.0.0
  • Last updated 8 maande gelede
  • Active installations 10+
  • WordPress version 6.0 or higher
  • Tested up to 6.7.4
  • PHP version 7.4 or higher
  • Language
    English (US)
  • Tags
    custom fieldpost metapost titleshortcode
  • Gevorderde Aansig

Punte-toekennings

No reviews have been submitted yet.

Ek wil ‘n aanbeveling maak

See all reviews

Contributors

  • Md Forid Uddin

Hulp

Got something to say? Need help?

Gaan na die hulp-forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Afrikaans

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Kode is 'n lied.