I am working on classified website powered by wordpress.
I want to put all categories and subcategories on index.php as you see it on quickr dot com.
thought i could do it in two ways but it has some issues:
<?php wp_list_categories('show_count=0&hide_empty=0&exclude=1&orderby=name&order=asc&title_li=&child_of=' ');?>
though i got the list, but I dont know how to present it well.
<li><?php $cat = 15; $thisCategory = get_category(15); $catName = $thisCategory->cat_name; echo $catName;?></li>
With this method i can show results based on Category ID.
Is there a way where i can pull all categories and subcategories and frame it in tables.