Category Meta plugin
Meta fields don't display for custom taxonomies (3 posts)

  1. jaygoldman
    Posted 5 years ago #

    I've added an "order" field in the Category Meta Settings page for a custom taxonomy called "applications". Unfortunately, the field doesn't appear when I go to add a new term to the custom taxonomy.

    I've tracked the problem down to line 71 in wp-category-meta.php:


    Checking the value of $wptm_taxonomies shows me that it's not returning any of my custom taxonomies. That means your calls to register actions for _add_form_fields and _edit_form aren't getting called for custom taxonomies.

    Weirdly, line 162 in options.php does return them, so they are showing up in the drop-down on the Settings page:


    I tried passing array('_builtin' => false) as the first parameter and I got back an empty array. Passing array('public' => false) doesn't help either. Don't see anything in the docs about why it wouldn't return them either.

    Hope that's helpful!

  2. Jacob Dunn
    Posted 5 years ago #

    This is an issue with trying to list custom taxonomies before they are commonly created. I have added a fix here. Hope that helps!

  3. elebail
    Plugin Author

    Posted 5 years ago #


    I made a new version (1.2.2) with a fix on this point.
    Could you try it and tell me if it works ?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Category Meta plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic