WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Page Order (2 posts)

  1. Terry
    Member
    Posted 7 years ago #

    Hi there. I wish to display links to my pages by their page orders and not alphabetically (my current theme arranges them alphabetically). Is there any way to make the links arranged by page order?

    Here is the original code from my template:
    <?php wp_list_pages('depth=1&title_li='); ?>

    http://www.teddy-o-ted.com - look at the top where the navigation bar is and you'll get the picture.

    Any ideas? Thank you so much in advance! =)

  2. Kafkaesqui

    Posted 7 years ago #

    I'd visit the documentation on wp_list_pages():

    http://codex.wordpress.org/Template_Tags/wp_list_pages

    and look at the information on the 'sort_column' and 'sort_order' parameters.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.