Would someone be able to help me out with some coding advice, at the moment I retrieve my categories with the following code:
<h2><?php _e('Categories'); ?></h2>
<?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
<?php get_links_list(); }?>
This displays all my categories in one list but since I have some sub-categories and I would like these to be shown as sub-categories in my sidebar.
How do I go about this?
Many thanks in advance.