Just ran into something where I was using CSS to float wp_nav_menu
to the right, so it was displaying in reverse order than what was set in Appearance > Menus.
Solution? Add a function to your functions.php to reverse the sort order wp_nav_menu
.
[php]add_filter( ‘wp_nav_menu_objects’, create_function( ‘$menu’, ‘return array_reverse( $menu );’ ) );[/php]
Thanks man :)
Was looking for that and just made my day :)
Thanks again, i’ll be looking at your blog later :)
Really cool, but is there a way to do this on a specific menu also?