Support » Plugin: Category Order and Taxonomy Terms Order » Taxonomy Must be Registered to Work

  • rsmithgs


    Hello all,

    I just thought I’d point out something to everyone using this plugin. I noticed that if you create your own custom post types that Taxonomy Order doesn’t always appear if you create custom taxonomies for these post types.
    I was using the plugin Custom Post Type UI (CPT UI) and noticed that although my taxonomies are appearing in it’s registered tab, it may not actually be registered and thus not allowing Taxonomy Order to appear.

    Be sure to add this to your functions.php or a custom plugin to allow Taxonomy Terms Order to work with your custom taxonomies on custom post types:

    add_action(‘init’, function(){/** Register taxonomy */
    register_taxonomy( ‘TAXONOMY_NAME’, ‘POST_TYPE_NAME’, array(
    ‘label’ => __( ‘TAXONOMY_LABEL’ ),
    ‘hierarchical’ => true,
    ) );

  • You must be logged in to reply to this topic.