All I want is to be able to easily get the top-level categories from my page. In this case, any that has no parent. Isn’t there a simple way to do this without wp_list_categories?
Alternatively, is there a way to get wp_list_categories to stop returning all that data and just give me the IDs?
- The topic ‘List of top-level/root categories’ is closed to new replies.