WordPress.org

Ready to get started?Download WordPress

Forums

listing pages out of specified order (3 posts)

  1. jami1955
    Member
    Posted 2 years ago #

    I'm using this call:
    <?php wp_list_pages('title_li=&depth=1&include=495,1500,1502,11,496,13'); ?>

    to list the pages specified in the call. They should appear in the order listed there. They are appearing in this order instead:
    1502,495,1500,496,11,13

    The page is here
    http://jamiestclair.com
    any help would be appreciated, I need those to appear in the order specified.
    thanks
    JSC

  2. kn00tcn
    Member
    Posted 2 years ago #

    did you ever fix this?

    i dont think include sorts, you should add &sort_column=menu_order, then pick the order in the admin area

  3. jami1955
    Member
    Posted 2 years ago #

    The sort order must be set for each page on the edit page screen, then the pages in the list will sort themselves according to that.

Topic Closed

This topic has been closed to new replies.

About this Topic