WordPress.org

Support

Support » How-To and Troubleshooting » Displaying Categories with specific parents

Displaying Categories with specific parents

  • Hi,

    I am wanting to to display in another location on my sidebar, categories that have a specific parent. For example all categories that are assigned to the “2006-2007” category.

    How do I specify this? I got this far, but it doesnt work…

    Any help >

    <?php 
    
          if (function_exists('wp_list_categories'))
            wp_list_categories('title_li=&show_count=1&child_of="2006-7');
          else
            wp_list_cats('optioncount=1');
        ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Displaying Categories with specific parents’ is closed to new replies.
Skip to toolbar