Introduction to WordPress term meta

I collect content without permission for WP Struggles*. Please visit the original sites, especially to share and comment.

If you use WordPress.org sites, you need to know this term.  It is vast in application and critical to understand if you want to get into your site, fine tune and get some control.

This is a small segment from the tutorial by Justin Tadlock.

“If you’ve used WordPress, you’ve used metadata in some way, even if you didn’t know it. Metadata is actually pretty important because it allows plugins (and even core itself) to add extra data to the various objects that’s not accounted for in the main table.

A good example of this is featured images in core. Core stores the image ID as metadata because there’s no field for the image ID in the posts table. So, metadata to the rescue!

Example uses of term meta

This is just an extremely small sampling of ideas:

  • Term images.
  • Storing the color hex code (e.g., #000000) to assign a color.
  • Storing the document title via an SEO plugin.
  • Category templates that can be re-used (like page templates).
  • Attach an icon to a term.
  • Theme sidebar position.
  • Privatize posts that are in a specific category in a membership plugin.

Source: Introduction to WordPress term meta

*My WP sites serve as my reference collections and notes for everything I do or have interest in for my use only.  I use copied content on this MultiSite network toni-two.com and my ESL MultiSite at toni-esl.com.