WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] List pages (3 posts)

  1. jami1955
    Member
    Posted 3 years ago #

    The function
    <?php wp_list_pages('title_li=&depth=1&include=495,1500,1502,11,496,268,868'); ?>

    should list the pages specified in the order they're listed, no? This call in my head as a navbar, is printing the pages in it's own order, randomly. Any ideas why that would be happening?

    thanks
    JSC

  2. vtxyzzy
    Member
    Posted 3 years ago #

    The 'include' parameter only specifies which pages to include, not the sort order. You can specify an order by editing each Page and assigning a number to the 'Order' under 'Page Attributes' on the edit panel.

  3. jami1955
    Member
    Posted 3 years ago #

    THANKS!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags