Site map

Support Area Forums Agency Site map

Viewing 3 posts - 1 through 3 (of 3 total)
URL to the page in question:
  • Author
    Posts
  • #11789
    Mila Collett
    Participant

    Hi Bill,
    is there a way to list pages under site map in alphabetical order ?
    Thank you,

    Mila

    #11790
    Bill Robbins
    Moderator

    Mila,

    You can do that. Here’s how:

    1. Go to the Appearance section and select Edit
    2. From the list of files on your right, choose page-sitemap.php
    3. Look for this line:
      
      <?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' ); ?>
      
    4. Change the
      
      menu_order
      

      to

      
      post_title
      
    5. 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

    #11836
    Mila Collett
    Participant

    OK , thank you – it worked

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Site map’ is closed to new replies.