WordPress.org

Ready to get started?Download WordPress

Forums

Multi-column Tag Map
Only show top-level categories/taxonomies (2 posts)

  1. rob01
    Member
    Posted 1 year ago #

    When listing out the terms of a taxonomy, I noticed that it lists everything, including child categories/taxonomies. Is it possible to incorporate the "parent" argument, so that you can set it to "0" and only display the top level terms?

    http://codex.wordpress.org/Function_Reference/get_terms
    http://codex.wordpress.org/Function_Reference/get_categories

    Thanks for the great plugin.

    http://wordpress.org/extend/plugins/multi-column-tag-map/

  2. toto
    Member
    Posted 1 year ago #

    Yes, i need the same thing. I need to display the second-level or depth 2 of my categories and subcategories. Is there a possibility?

    May we need to use this functionality?

    if($cat->parent >= 2 ){

    See this link How to display only parent categories

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic