Current Post Shortcode
The Current Post Shortcode plugin allows you to display the current post's title and metadata using simple shortcodes.
Plugin info
Maintenance & Compatibility
Maintenance score
Stale • Last updated 295 days ago
Is Current Post Shortcode abandoned?
Likely maintained (last update 295 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
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
-
Display Current Post Title and Meta Information:
- Post Title:
[current_post] - Post Meta (Custom Field):
[current_post meta="custom_field"]
- Post Title:
-
Display Data from a Specific Post ID:
- Post Title:
[current_post id="123"] - Post Meta:
[current_post id="123" meta="custom_field"]
- Post Title:
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.
Frequently Asked Questions
- 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
idattribute:[current_post id="123"]for the title or[current_post id="123" meta="custom_field"]for a custom field.
Yes, you can use these shortcodes anywhere shortcodes are supported in WordPress, such as posts, pages, widgets, and more.
Review feed
Screenshots
Changelog
1.0.0
- Initial release of the plugin.