It is a useful plugin to display the metadata information and custom fields of posts and pages or custom post type. You can either display date, author, comments, views or sticky meta information and custom fields list or maybe if you like then you can display all of them.
You can list the following information:
- Published Date (The day when the post is published on the website)
- Author (The Person who created the post or page)
- Views (Number of people which have seen the post)
- Sticky (If the post is sticky or not)
- Comments (Number of comments on the post)
- Custom Fields (The default custom fields of posts and pages) for more details please consult Custom Fields codex page.
Please don’t forget to rate my Plugin if you find it useful, thanks.
Instructions for installing the Display Post Metadata Plugin.
- In your WordPress admin go to Plugins -> Add New.
- Enter Display Post Metadata in the text box and click Search Plugins.
- In the list of Plugins click Install Now next to the Display Post Metadata.
- Once installed click to activate.
- Now go to any page, post or custom post type and edit it.
- While editing you can put the shortcode to display the metadata information. The shortcode is [metadata element=”date,author,comments,sticky,views,custom_fields”]
Does this plugin works with all major PHP versions?
Yes, it works with all major PHP versions and I have tested it with PHP version 5.2, 5.3, 5.4, 5.5, 5.6 and 7.0.
“Display Post Metadata” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。貢獻者
- Tested with WordPress 6.0.3
- Tested with WordPress 5.9.1
- Improved security of the plugin.
- Tested with WordPress 5.8.2
- Tested with WordPress 5.7.1
- Tested with WordPress 5.4.1
- Added custom fields support for the posts and pages.
- Improved shodcode execution method.
- Add a TinyMCE editor button to insert ‘metadata’ shortcode through a popup which will collect all of the user input for the shortcode attributes.
- Added Comments Post Metadata support
- Updated POT file.
- Initial Release