Support » Fixing WordPress » Change listing of child category order by id?

  • Hello

    I’ve set up a page which displays child categories using
    <?php wp_list_cats(‘sort_column=id&optioncount=0&use_desc_for_title=0&child_of=8’); ?>

    That is, I have a category called called Journal (with id=8), and its child categories as: Issue 1 (id=9), Issue 2 (id=10) etc.

    When the page is displayed, the child categories are ordered by their id:

    Issue 1
    Issue 2

    But can they be ordered in reverse, so the latest journal issue is listed at the top?:

    Issue 2
    Issue 1

    thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change listing of child category order by id?’ is closed to new replies.