Menu order doesn’t work
Sorry, i’m not sure i understand what you mean, i have assigned the order to each page numbers 1-6, which normally works just fine, but in this case they are still showing alphabetically.
What tags are being used in your theme’s template files to generate your page menu?
If you want your page listing to reflect your Admin page order, try replacing
wp_list_pages('title_li=&sort_column=menu_order'). If you want your pages listed alphabetically by title, use
Hey esmi, thanks, that code did put the menu in order, unfortunately it trashed the formating of the menu too, but its clearly close. Any ideas how i can fine tune it?
All fixed, here is the code:
<div id="container" class="clearfix"> <div class='menu'> <ul> <?php wp_list_pages('sort_column=menu_order&title_li='); ?> </ul> </div> </div>
were exactly did you put that code? Which file and which lines needs to be modified?
Hi Kadr, depends on your theme but probably in
I was able to fix it with a plugin: http://geekyweekly.com/mypageorder
but thnx for the help!
how can i order pages by id? i don’t want them sorted alphabetically or by admin dates, etc… I would like this sorted according to the ID #s of my choice…
- The topic ‘Menu order doesn’t work’ is closed to new replies.