WordPress.org

Ready to get started?Download WordPress

Forums

Category List: Alphabetically by Parent w/ Nested Children (2 posts)

  1. OfficialScorer
    Member
    Posted 8 years ago #

    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?

  2. palyne
    Member
    Posted 8 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic