Ordering Pages in WordPress
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.
About the Author
Paul Flyer loves to research the web and find resources and tools for building, maintaining and promoting websites. Based in Saint Louis, MO, he works in management and spends his free time sharpening his web development and copy writing skills. Feel free to contact Paul with any questions, comments or ideas. He is also available to help you with your own website.
Profile cancel
Popular Articles
- Removing Line Breaks/Space Before/After H1 tags
- Free Download Manager for Firefox
- Web Development and Design Tool Recommendations
- .htaccess and WordPress
- Removing Image Borders with CSS
- What does it mean to be pinged
- Graphic Design Tool Resources
- Free Blog Software Recommendation
- How to use cPanel to backup your website











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