lornapeck
Member
Posted 3 years ago #
A month ago you helped me figure out how to get my pages to appear in a particular order on my menu tabs.
I have since changed my theme and now am displaying pages only in the right sidebar. The first-level pages appear only in alphabetical order, no matter what I do. I've specified 1, 2, 3, etc., on the Edit Page, but nothing changes. I even tried the solution you gave me last time (embedding sort_column=menu_order into the wp_list_pates function). No luck. I looked for a wp_page_menu function and cannot find one. I even created one in the Sidebar.php file, just below the wp_list_pages function. Still nothing changed.
Can you help?
Thanks
lornapeck
Member
Posted 3 years ago #
Anybody out there? I really need to figure out how to place my first-level pages in a prescribed order in the right sidebar. Thanks for any help you can offer.
Use either:
<?php wp_list_pages('title_li&sort_column=menu_order'); ?>
or
<?php wp_page_menu('sort_column=menu_order');?>
lornapeck
Member
Posted 3 years ago #
Thanks for your reply, Esmi. I tried both and neither worked. Is a puzzlement.
lornapeck
Member
Posted 3 years ago #
Oh, for goodness' sake--will somebody just shoot me now? I contacted the designer of the theme I'm using and he suggested that there might be a "switch" in the Widget section of Appearance. Duh! Sometimes I forget to look for the obvious solution!
Anyway, problem solved. Thanks, Esmi, for your help.
Gustav2nd
Member
Posted 3 years ago #
Hi lornapeck
Thanks for your post! I had been pulling out hair for about an hour, before I read your post.