• Hi there,
    I had a website up and running and just changed hosting providers recently, and then converted it into a WordPress Site (still working on it) Beach Theme Home Decor.
    Now I have added all the pages to it again as I had them before, but I want a certain order.
    In WP 2.7 you can give the pages a certain number and then they are supposed to appear in that order.
    If you check out my Site, my privacy policy is right in the middle of all my other pages, and I want it down the bottom (I gave it No. 9, last no.), and also the other pages are not in the order I gave them. Am I doing something wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you using the sort_column=menu_order argument in the wp_list_pages function?

    wp_list_pages() has several arguments that can be passed to it within the ()

    More reading on wp_list_pages

    Thread Starter petraw

    (@petraw)

    Thanks for your reply, LenK, but to be honest, I have NO idea what you are talking about, and the more reading on wp_list_pages didn’t help me either, because I don’t understand it. Is there anything else that might help me a bit further?
    I have given all the pages the number I would like them to appear under, but the program doesn’t seem to see it.

    Assuming you have set the Order (see Attribute module when editing a Page) properly, you need to find what Template is being used to display your list of Pages. Template Hierarchy will help you determine that.

    Once you found what Template displays the Pages, then assuming that template tag, wp_list_pages(), is in use, then just add the sort_column=menu_order parameter as suggested by LenK.

    Resources:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change page order WP 2.7’ is closed to new replies.