WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Widget
[resolved] No custom taxonomies to display? (4 posts)

  1. Dichtungsmittel
    Member
    Posted 2 years ago #

    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.

  2. nikasama83
    Member
    Posted 2 years ago #

    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

  3. Michael Fields
    Themer
    Plugin Author

    Posted 2 years ago #

    @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.

  4. creaturez
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic