Justin Tadlock Explains Taxonomy Term Meta

While developers celebrate the first half of the WordPress REST API being merged into WordPress, there’s also another reason to celebrate. Six years in the making, taxonomy term meta will be available in WordPress 4.4.

If you’re like me and don’t have a clue as to what taxonomy term meta is, I highly encourage you to read Justin Tadlock’s explanation and tutorial. In the post, Tadlock explains why term meta is significant and some of the possibilities it affords developers.

After reading through the tutorial, I have a better understanding as to why developers are so excited. Not only does it create more opportunities to extend WordPress, but does so in a standard and expected way. Previous to WordPress 4.4, developers had to rely on work-arounds to add term meta to taxonomies.

Let us know what you think of the tutorial and how you plan to take advantage of this feature once WordPress 4.4 is released.

16 Comments


  1. Does anyone have a suggestion on what to use for simple term meta until WP 4.4 is released?

    I know it will be released soon but I need it this week (on a live site), so what should I use that will be easy to merge to internal meta integration?

    Any advice is welcome :)

    Report


    1. You would be best off installing the latest beta. There are plugins for this, but they will cause you more problems than running a beta version of WordPress will.

      Report


      1. I wanted to avoid running beta on production site. I’m sure Beta 3 is already quite polished but still. JJJ recommended a nice plugin below :)

        Thanks for the advice!

        Report


      2. I think avoiding a plugin is more important than avoiding a WordPress beta.

        I’d trust a WordPress beta more than I would a plugin which is about to become immediately out of date.

        Report


    2. I’ve used a few plugins for this in the past. I’ve previously used Taxonomy Metadata by mitcho and sirzooro. It is very barebones though. I’ve also used Types plugin by OnTheGoSystems. It adds an admin interface for taxonomy meta but I personally found it a bit cumbersome. The best solution I’ve found so far is Advanced Custom Fields by Elliot Condon. It adds taxonomy metadata functionality and has a very nice admin interface.

      Report


      1. Thanks but I only needed a meta functionality, I will implement the fields myself. Thanks for sharing though!

        Report


      2. Actually Types just adds interface for post and user meta, not term yet. For sure we will add it when time comes :)

        Report


      3. Mitcho’s plugin was the best IMO. Conveniently, it’s directly compatible with the WordPress core API. So you can just drop in WordPress 4.4 and delete the plugin and everything will keep working as before, albeit your data will be lost and you’ll need to reenter it (Mitcho does intend to write an upgrader to work around that though).

        Report


      1. Awesome, exactly what I need! Thanks!

        Report


  2. Love this Post’s featured image! LOL! I admit, Justin’s explanations are thorough, educational and well-written!

    Report


  3. My tutorial is really just tip-of-the-iceberg stuff. There’s a lot of other neat stuff around terms like the new WP_Term class and querying terms from the database by meta. You could write a small book on all the new term-related stuff in WP 4.4. At the very least, I’d love to see some other devs tackling some tutorials on these things.

    Report


  4. Justin’s tutorials are awesome. I learned the finer details of custom post-types from him and now use them all day every day :)

    Report

Comments are closed.