How to get current category displayed?
-
Hello,
I try to display a list of category child of a parent category in the sidebar.
So I need to put a value there :
wp_list_cats(‘optioncount=1&child_of=$parent_cat_id’)
How to retrieve such value? I have searched on the forum found some info for displaying child of pages but nothing seems to do the trick for category listingthanks
Pascal
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to get current category displayed?’ is closed to new replies.