Have you tried
wp_list_categories( array('depth'=>2,'title_li'=>null));
This outputs the categories as a list, with their children as a nested list. The categories are linked to their respective page.
Have you tried
wp_list_categories( array('depth'=>2,'title_li'=>null));
This outputs the categories as a list, with their children as a nested list. The categories are linked to their respective page.