My sidebar lists categories using <?php wp_list_cats(); ?>. This produces a list of categories based on the ID #. If I change this to <?php list_cats(); ?> I get an alphabetical list.
The issue is that I have some sub-categories. When I sort the categories this way, those sub-categories are treated as the others and are not nested under the parent category.
Is there any way to list categories alphabetically by the parent category and then by the child?
- The topic ‘Category List: Alphabetically by Parent w/ Nested Children’ is closed to new replies.