
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.
[current_post] Outputs the current post title, e.g., “Hello World”[current_post meta="custom_field"] Outputs the value of the custom field[current_post id="123"] Outputs the title of the post with ID “123”[current_post id="123" meta="custom_field"] Outputs the value of the custom field in the post with ID “123”[current_post meta="custom_field" default="Default Value"] Displays "Default Value" if the custom field is empty
[current_post meta="custom_field" default="Default Value" skip="true"] Displays "Default Value" if the custom field value is zero