Thread Starter
tlsceo
(@tlsceo)
Just incase anyone else can use this, here is what I did to resolve this issue.
‘<?php
$current=get_query_var(‘cat’);
wp_list_cats (“optioncount=$c&hierarchical=$h&sort_column=$s&child_of=$current”);
?>’
is there a way that I can use get_query_var(‘cat’); to pass the current category ID to wp_list_cats in order to display only children of the current category?
Thread Starter
tlsceo
(@tlsceo)
I am not seeing a way to edit my above post, but the second set of cat/subs should have tabs in for the sub-categories. I didnt realize the formatting would change when I posted.