JSM's Show Term Metadata

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?

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.

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 Metadata 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 WPSSO plugins do.

Related Plugins

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.

FAQ

Frequently Asked Questions

  • None.

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;
}

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs & développeurs

« JSM's Show Term Metadata » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“JSM's Show Term Metadata” a été traduit dans 3 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « JSM's Show Term Metadata » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

Version Numbering

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

  • {major} = Major structural code changes / re-writes or incompatible API changes.
  • {minor} = New functionality was added or improved in a backwards-compatible manner.
  • {bugfix} = Backwards-compatible bug fixes or small improvements.
  • {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release candidate).

Repositories

Changelog / Release Notes

Version 1.2.0 (2020/05/08)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • Maintenance release – minor code formatting changes.
  • Requires At Least
    • PHP v5.6.
    • WordPress v4.4.