[Plugin: Category Meta plugin] Meta fields don't display for custom taxonomies
-
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:
$wptm_taxonomies=get_taxonomies('','names');
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:
$taxonomies=get_taxonomies('','names');
I tried passing
array('_builtin' => false)
as the first parameter and I got back an empty array. Passingarray('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!
- The topic ‘[Plugin: Category Meta plugin] Meta fields don't display for custom taxonomies’ is closed to new replies.