Support » Plugins » Sort by child category id

  • Resolved Storyman

    (@storyman)


    This is the code to display the child category for category #8. It list only the child titles and sort by title.

    I’d like to sort by child category id. What I realized after changing ‘name’ to ‘id’ is that is sorting by parent category id–not child id. Adding ‘sort_column=id’ before or after ‘child_of=8’ does not work.

    wp_list_categories (‘sort_column=id&title_li=&child_of=8’);

    How can I get the list to sort by child id?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sort by child category id’ is closed to new replies.