Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress

Usando/Using HOOKS

i need a example using hooks, im using canvas woothemes its ok for begginers , but i was wondering if thre a way to move the top menu to after nav section.

2 Answers

Mike Bronner
Mike Bronner
16,395 Points

I have done the exact same thing. Check out the file header.php in the theme, and make a copy of it in your child theme. Once there, you can re-arrange the woo_top() (which is responsible for the "top" nav menu, not the main nav menu to wherever you like. Overriding themes using child-themes is a best-practice approach, and won't mess you up later when you update the woo theme. :) I think this should get you started. Let me know how it works out.

thnk you so much men !!!! i really apreciate the quick response.

thanks for you answer, when i was looking for more infor about you answer , i find this.

remove_action('woo_top', 'woo_top_navigation'); add_action('woo_foot', 'woo_top_navigation')

a just add this two lines at function.php and i maded !.

take look . http://www.nosotrasmagazine.com/inicio/.

i just need to figure out how to use the entire space in both menus .