jsm-show-term-meta

JSM's Show Term Metadata

View the Project on GitHub jsmoriss/jsm-show-term-meta

JSM's Show Term Metadata

Plugin NameJSM's Show Term Metadata
SummaryShow all term (categories, tags) meta (aka custom fields) in a metabox on term editing pages -- a great tool for debugging issues with term meta.
Stable Version1.3.0
Requires PHP7.0 or newer
Requires WordPress5.0 or newer
Tested Up To WordPress5.8
Contributorsjsmoriss
LicenseGPLv3
Tags / Keywordsmeta, term meta, inspector, custom fields, debug, tools

Description

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 (aka custom fields)?

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

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

Related Plugins

Need a Boost to your Social and Search Ranking?

Check out the WPSSO Core plugin to rank higher and improve click-through-rates by presenting your content at its best on social sites and in search results - no matter how URLs are shared, re-shared, messaged, posted, embedded, or crawled.

Installation

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 ZIP 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.

Frequently Asked Questions

Frequently Asked Questions

Notes and Documentation

Developer Filters

An example to add Yoast SEO term meta to the "Term Metadata" 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( $tax_opts[ $term_obj->taxonomy ][ $term_obj->term_id ] ) ) {

        $term_meta[ 'wpseo_taxonomy_meta' ][] = $tax_opts[ $term_obj->taxonomy ][ $term_obj->term_id ];
    }

    return $term_meta;
}