Display Post Meta

January 19, 2015

Display Post Meta Plugin

This plugin was designed for the purpose of outputting the meta data associated with a WP post or page so developers and site designers can verify wha …

This plugin was designed for the purpose of outputting the meta data associated with a WP post or page so developers and site designers can verify what information is available.

To use this plugin, simply activate then either simply navigate to a post, page or custom post type and then click on the “DPM” link in the toolbar. For those who have the toolbar disabled, setting show_meta=true in the URL will activate the meta display. Example:

http://example.com/test-post/?show_meta=true 

If you are interested in learning about the other plugins we have created and/or are working on and would like to know about new releases and special offers we have, please subscribe here.

Installation

Using this plugin is very simple. All you have to do is:

  1. Upload the display-post-meta folder to the /wp-content/plugins/ directory

  2. Activate the plugin through the ‘Plugins’ menu in WordPress

  3. Navigate to any Post or Page on your website and click on the “DPM” link in the toolbar.

Screenshots

  1. screenshot-1.png

    screenshot-1.png

  2. screenshot-2.png

    screenshot-2.png

FAQ

What is this plugin for?

When working with WordPress it is often useful to view the meta data that is being associated with a given post or page. This can be helpful especially when designing templates and other such things. This plugin simply outputs in a visual way, all the data it can find.

What can we expect in future releases?

  • A better looking design.

  • Choices for how you would like to the data to be displayed.

  • More detailed data pertaining to the current post.

Changelog

1.5

  • Check to ensure user is an administrator before displaying content or button rather than just logged in
  • Don’t show the toolbar button on archives, admin pages and others where it doesn’t make sense
  • Show the toolbar button for small screens (was hidden)
  • Add a Post Meta link next to the Edit post link on the front end
  • Show meta data inline when Post Meta link is clicked

1.4

  • Added “Other” section which includes post info like author, published date, ID and current template
  • Added some sanitization for increased security
  • Refactored lots of the core code for more clarity and flexibility
  • Added a close button on the info screen

1.3.1

  • Placed all core functions into a class
  • Improved WordPress coding standards compliance

1.3

  • Lots of styling adjustments
  • Output content on wp_footer hook instead of wp (which was so dumb)
  • Better naming and modulation of functions
  • Add support for custom taxonomies on all post types
  • Greatly improved display of custom field data
  • Removed the [show_meta] shortcode
  • Add clarifying statement if no custom fields

1.2.0

  • Some updates to fix the function of DPM button
  • Add active style to the DMP Button

1.1.4

  • Ability added to close DPM window by clicking on ‘DPM’ from the admin bar

1.1.3

  • Fix for a few undefined index errors showing when in debug mode.

1.1.2

  • Register stylesheet
  • Enqueue stylesheet if show_meta query parameter is equal to true

1.1.1

  • Better function names
  • DPM link actually adds a query arg instead of just appending to the URL
  • Display now looks for the show_meta query parameter instead of parsing the URL

1.1

  • Better CSS
  • Fixed taxonomy loop to no longer nest

1.0

  • Initial release.

Details

  • Version: 1.5
  • Active installations: 70
  • WordPress Version: 3.0.0
  • Tested up to: 4.1.41

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars