• lindsayb63

    (@lindsayb63)


    Hello,

    How do you change around the page IDs so that you can have pages placed in a specific order? I didn’t realize that I needed to create them in the order I’d want them to appear.

    I know the page lists can be done manually, but this is for my brother and he doesn’t know coding at all. It needs to be easy for him to rearrange pages.

    Thanks!

    Lindsay

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    How do you change around the page IDs so that you can have pages placed in a specific order?

    You don’t.

    I didn’t realize that I needed to create them in the order I’d want them to appear.

    Again, you don’t.

    Edit the Pages. Look on the sidebar area for “Page Order”. Put in numbers there. The default usage of wp_list_pages will put them in order by that number, then in order by title.

    If you have them being ordered by the ID number, then you need to look at your theme to see how it’s calling wp_list_pages.

    moshu

    (@moshu)

    You cannot change the IDs.

    However, you can order the displayed Pages list by using the proper parameter; see the details:
    Template_Tags/wp_list_pages#List_Pages_by_Page_Order

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing Page ID (to order pages)’ is closed to new replies.