ThemeShaper Forums » Thematic


Nav/menu is now listed alphabetically! in 0.8

(9 posts)
  • Started 10 years ago by rayk
  • Latest reply from jcollier
  • This topic is resolved
  1. 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!

    Posted 10 years ago #
  2. roar123

    Posted 10 years ago #
  3. 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!

    Posted 10 years ago #
  4. micha

    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 . 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?

    Posted 10 years ago #

  5. Posted 10 years ago #
  6. 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'); ?>
    Posted 10 years ago #
  7. 0.8.1 is now available from the themes directory.

    Posted 10 years ago #
  8. ballyboost

    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 ..?

    Posted 9 years ago #
  9. 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.

    Posted 8 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.