• Resolved Jim Parrillo

    (@jparrillo)


    OK – So I ordered all the pages in the WP Admin correctly using the Quick Edit feature (and yes, I also was sure to ‘Update’)

    ie.

    Home – 1
    About Us – 2
    Successes – 3
    Request A Quote – 4
    Contact Us – 5

    I also set up the subpages similarly (and they are showing correctly under the right menu headings, orderings, etc. ).

    However, In the navigation bar, they are still out of order. I can’t figure out why it’s doing this. Any suggestions??

    You can see the site at: https://vorndranassociates.com

    Thanks,

    – Jim

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jim Parrillo

    (@jparrillo)

    By the way, here’s the WP code for the page listing:
    <?php wp_list_pages('title_li=&sort_column=ID'); ?>

    Thread Starter Jim Parrillo

    (@jparrillo)

    Ahha – I solved my own problem and figured I’d follow up in case anyone else has the same issue…

    The wp_list_pages was sorting by ID… not by page order.

    ID refers to the chronological order that the pages were created…

    Therefore, I modified the code to:

    <?php wp_list_pages('title_li=&sort_column=menu_order'); ?>

    And now it works fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pages Ordered Correctly In WP Admin – But showing out of order in navigation’ is closed to new replies.