Reposition Primary Navigation



Hi Karen, I couldn't quite find where you found your answer, but I usually use

beans_replace_action( 'beans_primary_menu' , 'beans_header_before_markup' );

For future reference I found it easier if an answer was within the comments.


Hi Didou Schol, your anwser is totally correct.

I would suggest you to use beans_modify_action() instead, the only difference is because this will keep original values in case you want to reset them again using beans_reset_action().

While using beans_replace_action() will replace original values. The beans_reset_action() now will get the replaced values instead of original ones.

Cheers!


Hi, I'd like to move the menu above the header as well, but which file am I editing with above code?

Regards Tony


Write a reply

Login or register to write a reply, it's free!