Web Tool Review Blog

Ordering Pages in WordPress


by Paul Flyer

The Pages functionality within WordPress adds a lot of flexibility. A list of links to the Pages within WordPress can be created using the wp_list_pages function. The default behavior for this function is to list the pages alphabetically. What if a different sort order is desired?

Within WordPress Administration, click Manage, then Pages. Select a page to edit. Underneath the main text window is a series of options. Page Order is one of those options. Enter a number for the order in which the selected page is to appear in the list. Order all pages accordingly.

When creating the list, the PHP will look like the following:

<?php wp_list_pages(’sort_column=menu_order&title_li=Your Title’); ?>

The Recommended Web Tools By Category list in the left nav bar is an example of a Pages link list.

For more information see the WordPress codex.

08.10.2005 @ 12:04 PM — Filed under:

Be sure to review our list of recommended web tools.

TrackBack this entry

Comments »

  1. » August 2005 Highlights :: Recommended Web Tools comments:

    [...] Ordering Pages in WordPress 10.31.2005 @ 10:22 AM by paul @ rwt — Filed under: [...]

    October 31st, 2005 at 10:31 am


Leave a comment

Note: All comments are moderated. It may take 24-72 hrs for your comment to appear.