WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate Tag Cloud Widget
Custom Taxonomies with Custom Post Types (4 posts)

  1. trimark
    Member
    Posted 3 years ago #

    Hi Rickard,

    Great plugin, having implemented this on other sites. My problem I'm having deals with the plugin's recognition of a custom taxonomy. I used "Custom Post Types" to create a custom taxonomy and registered the taxonomy in the functions.php file

    register_taxonomy('mymeetings_tags',array (
      0 => 'press_releases',
      1 => 'articles',
      2 => 'coupons',
    ),array( 'hierarchical' => false, 'label' => 'myMeeting Tags','show_ui' => true,'query_var' => true,'rewrite' => array('slug' => ''),'singular_label' => 'myMeeting Tag') );

    In the widget options, UTC is not recognizing the custom taxonomy. For the time being, I have set the debug option to true.

    http://mymeetingssite.com/articles/

    Please advise, thank you!

    ~David

  2. Rickard Andersson
    Member
    Plugin Author

    Posted 3 years ago #

    Hi David

    Which WordPress hook are you using to register your custom taxonomy? It could be that your taxonomy is added too late in the loading process for UTCW to notice it.

    Currently I'm loading all the custom taxonomies from the "wp_loaded" hook, number 13 in the reference: http://codex.wordpress.org/Plugin_API/Action_Reference

    To be certain that your taxonomy will be recognized by the plugin you need to register it before the "wp_loaded" hook.

    Hope this helps!

  3. CIX
    Member
    Posted 2 years ago #

    This seems like an amazing plugin. Thank you. I am having trouble though and I admit I am not certain that it is on your end. I am using UTC to generate a tag cloud for a Custom Post Type. The plugin see the Post Type as an option. It also on the front end, generates the tag cloud properly, but if I click on any of the tags the only go to a postless page. Any thoughts?

    Thank you.

  4. CIX
    Member
    Posted 2 years ago #

    And in addition, if the tag is associated with a regular post, then it works fine.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic