Show only children categories of current 3rd level category
-
i have this category structure:
1
1.1
1.2
1.2.1
1.2.1.1
1.2.1.2
1.2.2
1.3
1.4a.s.o.
i am displaying only level 1-3 on my sidebar using MyCateogryOrder Plugin like the following:
<?php wp_list_categories(‘orderby=order&show_count=0&title_li=&depth=3’); ?>
How ca i now display in my header only the fourth level categories, in case the current post is in a third level category and this 3rd level category contains a fourth level like i.e. my categories 1.2.1.1 and 1.2.1.2
I tried using the “child of” functionallity, but canot make it working, any ideas?
- The topic ‘Show only children categories of current 3rd level category’ is closed to new replies.