Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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 .