WordPress.org

Support

Support » Plugins and Hacks » [Resolved] No custom taxonomies to display?

[Resolved] No custom taxonomies to display?

  • Dichtungsmittel
    Member

    @dichtungsmittel

    Just updated from 0.3 to 0.6 and the tag clouds are empty. At the widget settings I can only choose Categories, Post Tags and Format (whatever that means). The custom taxonomies I use are missing, switching back to 0.3 and it works again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • nikasama83
    Member

    @nikasama83

    when you are setting your custom types and taxonomies you need to set the priority.

    add_action('init', 'post_type_books', 0 ); // where 0 is high priority 
    
    function post_type_books() {
    	register_post_type( ...... ) };

    this fixes it

    Plugin Author Michael Fields
    Member

    @mfields

    @dichtungsmittel Thanks for the bug report and sorry about introducing it 🙂 I did not test with taxonomies registered after init 0 which I probably should have. Version 0.6.1 will fix this issue without you having to modify your code. Please upgrade as there have been security fixes since 3.0 was originally released.

    @nikasama83 Thanks for providing the quick fix for this! This was something that I could fix relatively easy in the plugin. It should not bother anyone else in the future.

    creaturez
    Member

    @creaturez

    I am still having this problem in 0.6.1. If I do need to update my code, where does the code above go?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] No custom taxonomies to display?’ is closed to new replies.