jparrillo
Member
Posted 2 years ago #
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: http://vorndranassociates.com
Thanks,
- Jim
jparrillo
Member
Posted 2 years ago #
By the way, here's the WP code for the page listing:
<?php wp_list_pages('title_li=&sort_column=ID'); ?>
jparrillo
Member
Posted 2 years ago #
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.