Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

JSM's Show Term Meta on Term Editing Pages

Show all term meta (aka custom fields) keys and their unserialized values in a metabox on term editing pages.

Wondering about the term meta your theme and/or plugins might be creating?

Want to find the name of a specific term meta key?

Need some help debugging your term meta?

The JSM's Show Term Meta plugin displays all term meta (aka custom fields) keys and their unserialized values in a metabox at the bottom of term editing pages (categories, tags, etc.).

Term meta has been available since WordPress v4.4. Older plugins that supported "term meta" before WordPress v4.4 may not use the current WordPress term meta functions, preferring to use their own custom "term meta" solutions instead. This custom "term meta", which is not stored in the WordPress term meta table, will not appear in the Term Meta list. You can contact the author of those older plugins to request an update, which uses the current WordPress term meta functions, or hook the 'jsm_stm_term_meta' filter to merge the custom "term meta". As an example, the Yoast SEO plugin still does not use the new term meta functions, while the WooCommerce and WordPress Social Sharing Optimization (WPSSO) plugins do.

There are no plugin settings — simply install and activate the plugin.

Developers

See the plugin Other Notes page for information on available filters.

Related Plugins

Author JS Morisset
Profile
Contributors jsmoriss
Tags custom fields, debug, meta, term meta, tools
  1. jsm-show-term-meta screenshot 1

    The Term Meta metabox added to admin term editing pages.

Automated Install

  1. Go to the wp-admin/ section of your website.
  2. Select the Plugins menu item.
  3. Select the Add New sub-menu item.
  4. In the Search box, enter the plugin name.
  5. Click the Search Plugins button.
  6. Click the Install Now link for the plugin.
  7. Click the Activate Plugin link.

Semi-Automated Install

  1. Download the plugin archive file.
  2. Go to the wp-admin/ section of your website.
  3. Select the Plugins menu item.
  4. Select the Add New sub-menu item.
  5. Click on Upload link (just under the Install Plugins page title).
  6. Click the Browse... button.
  7. Navigate your local folders / directories and choose the zip file you downloaded previously.
  8. Click on the Install Now button.
  9. Click the Activate Plugin link.

Repositories

Version Numbering Scheme

Version components: {major}.{minor}.{bugfix}-{stage}{level}

  • {major} = Major code changes / re-writes or significant feature changes.
  • {minor} = New features / options were added or improved.
  • {bugfix} = Bugfixes or minor improvements.
  • {stage}{level} = dev < a (alpha) < b (beta) < rc (release candidate) < # (production).

Note that the production stage level can be incremented on occasion for simple text revisions and/or translation updates. See PHP's version_compare() documentation for additional information on "PHP-standardized" version numbering.

Changelog / Release Notes

Version 1.0.2-1 (2016/12/28)

  • New Features
    • None
  • Improvements
    • Highlighted new term meta rows added by the 'jsm_stm_term_meta' filters.
  • Bugfixes
    • None
  • Developer Notes
    • None

Version 1.0.1-1 (2016/12/23)

  • New Features
    • None
  • Improvements
    • Added French translation of labels and notices.
    • Updated CSS to scroll overflow of meta values.
  • Bugfixes
    • None
  • Developer Notes
    • Maintenance release - minor refactoring of code.

Version 1.0.0-1 (2016/08/04)

  • New Features
    • Initial release.
  • Improvements
    • None
  • Bugfixes
    • None
  • Developer Notes
    • None

Frequently Asked Questions

  • None

Other Notes

Additional Documentation

Developer Filters

'jsm_stm_view_cap' ( 'manage_options' ) — The current user must have these capabilities to view the "Term Meta" metabox (default: 'manage_options' ).

'jsm_stm_taxonomy' ( true, $screen_base ) — Add the "Term Meta" metabox to the term editing page of this taxonomy (example: 'category').

'jsm_stm_term_meta' ( $term_meta, $term_obj ) — The term meta array (unserialized) retrieved for display in the metabox.

'jsm_stm_skip_keys' ( $array ) — An array of key name regular expressions to ignore (default: empty array).

An example to add Yoast SEO term meta to the "Term Meta" metabox.

add_filter( 'jsm_stm_term_meta', 'add_yoast_seo_term_meta', 10, 2 );

function add_yoast_seo_term_meta( $term_meta, $term_obj ) {

    $tax_opts = get_option( 'wpseo_taxonomy_meta' );

    if ( ! isset( $term_obj->taxonomy ) ||
        ! isset( $tax_opts[$term_obj->taxonomy][$term_obj->term_id] ) )
            return $term_meta;

    $term_meta['wpseo_taxonomy_meta'][] = $tax_opts[$term_obj->taxonomy][$term_obj->term_id];
    
    return $term_meta;
}
Share  
Download
Version 1.0.2-1

Requires WordPress version: 4.4 or higher

Compatible up to: 4.7.2

Last Updated 27 Jan 2017

Date Added: 05 Aug 2016

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

0 stars
0 ratings
247 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0