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

  1. trimark
    Posted 4 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.


    Please advise, thank you!


  2. Rickard Andersson
    Plugin Author

    Posted 4 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
    Posted 3 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
    Posted 3 years ago #

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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ultimate Tag Cloud Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic