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

  1. Dichtungsmittel
    Posted 5 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
    Posted 5 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
    Plugin Author

    Posted 5 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
    Posted 4 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

  • Taxonomy Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic