Support » Plugin: Multi-column Tag Map » Is there any possibility to hide all sub-categories?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I solved it myself by adding ‘parent=0’ to the mctagmap_functions file.

    here is the code if someone else looking for the same solution:

    $tags = get_categories('order=ASC&parent=0&hide_empty='.$show_empty.'');

    I need do it with taxonomies it does not work… Anyone knows how?

    $tags = get_terms( $taxonomy, 'order=ASC&parent=0&hide_empty='.$show_empty.'');

    Thanks

    Where exactly do I add ‘parent=0’ to the mctagmap_functions file?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there any possibility to hide all sub-categories?’ is closed to new replies.