Site map
URL to the page in question:
-
Hi Bill,
is there a way to list pages under site map in alphabetical order ?
Thank you,
Mila
Mila,
You can do that. Here’s how:
- Go to the Appearance section and select Edit
- From the list of files on your right, choose page-sitemap.php
- Look for this line:
<?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' ); ?>
- Change the
menu_order
to
post_title
- Save your changes.
That should change the sort from their menu id number to the page title. Let me know if you have any trouble,
Bill
OK , thank you – it worked
- The topic ‘Site map’ is closed to new replies.