Walleye
Member
Posted 2 years ago #
I am really new to WP and am trying to move pages around on our web page, which can be viewed here: http://www.myroosevelt.org/
It appears that the pages are listed alphabetically and I would like to change the order for pages.
can anyone help us?
thanks
Try editing sidebar.php in your thenme and changing <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> to <?php wp_list_pages('title_li=<h2>Pages</h2>&sort_column=menu_order' ); ?>
You can then use the Page Order box in Edit Page to change their order in the menu.
Or, just install the My Page Order plugin and have a drag/drop interface to easily order pages...works similar to the way you can drag around your widgets.
http://wordpress.org/extend/plugins/my-page-order/
Walleye
Member
Posted 2 years ago #
Thank you both I think that you have solved my problem. I have a lot to learn but, it is a lot of fun. :)
Walleye
Member
Posted 2 years ago #
I guess I tried esmi's suggestion and I ended up getting two sidebars so i must have screwed up something here is hat I have:
<wp_list_pages('title_li=<h2>Pages</h2&sort_column_order' ); ?>
<h2>Archives</h2>
<?php wp_get_archives('type=monthly'); ?>
<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
So question is did I foul up the code?
Walleye
Member
Posted 2 years ago #
What I should have said is that when I modified the code above it added a second list of the pages on the web site. I put the sideBar code back to the original and updated the file but the duplicate Page List is still present.
afal2011
Member
Posted 2 years ago #
Hello I have tried to move pages in order by downloading the page order plug in and also through editing it through quick edit and neither seem to be working. Can anybody help with this?
Thanks