Showing sub-categories on parent category page
Hi I wonder how I should proceed to display my sub categories on the parent category page.
The reason I am posting this in the help section is due to the fact that vantage isn't using standard
wp categories but listing categories.
To achieve the display of normal wordpress sub-categories the user is supposed to add the following code in the achieve-listing.php file:
<?php
if ( is_category() ) {
$this_category = get_category($cat);
if($this_category->category_parent):
else:
$this_category = wp_list_categories('orderby=id&depth=5&show_count= 0&title_li=&use_desc_for_title=1&child_of='.$this_ category->cat_ID."&echo=0");
echo '<ul>'. $this_category . '</ul>';
endif;
}
?>
So now to my question, since vantage is using custom functions I would like to know which functions to replace "is_category()", "get_category($cat)", "category-parent" and "wp_list_categories" with.
And no this is not a community support thread so you can not simply move this thread to general discussion (as you do with every second thread that asks for help) so you moderators do not need to answer it.
Also this is not customization since my question is which functions vantage is using instead of the normal wordpress ones for categories.
Looking forward for your answer.