Hi it seems after upgrading to 0.8 my menu is being listed alphabetically instead of by page order like in 0.7, how do I change that?
Thank you!
Hi it seems after upgrading to 0.8 my menu is being listed alphabetically instead of by page order like in 0.7, how do I change that?
Thank you!
roar, can't see your reply. Anyway I temporarily fixed it by using page mash, but ideally I need a plug in free way to do it. Thanks!
For the time being, you can change <?php wp_page_menu() ?>
to <?php wp_page_menu('sort_column=menu_order'); ?>
on line 53 in header.php
But ideally, you'd want to achieve the same thing by filtering the menu via functions.php in your child theme, as suggested by Ian on http://themeshaper.com/blog/thematic-08-live/ . Which is where I'm stuck at the moment, can't get this to work. Any ideas, anyone?
How do I simply replace <?php wp_page_menu() ?>
with <?php wp_page_menu('sort_column=menu_order'); ?>
via functions.php in my child theme?
I've uploaded 0.8.1 to the theme directory to take care of this. It should be checked in a week or so. For now, just change the line 53 in header.php to read
<?php wp_page_menu('sort_column=menu_order'); ?>
0.8.1 is now available from the themes directory.
Hi Ian,
I am using Wordpress 2.9.1
I have a different problem: the subpages should be listed alphabetical (they all have page order '0'). But it doesn't work in the frontend menu.. example Can I adjust this in function.php ..?
FYI, I just learned that this ...
<?php wp_page_menu('sort_column=menu_order'); ?>
... should be this ...
<?php echo thematic_add_menuclass(wp_page_menu('sort_column=menu_order')) ?>
... for 0.9.7 and higher.
This topic has been closed to new replies.