Jump to content
Sign in to follow this  
christiandisenolopezcom

Menu Locations

Recommended Posts

christiandisenolopezcom

Hi, I'm trying to use all 3 menus available, but I want them rendered in specific locations. What piece of code do I need to render the "Page Navigation in Footer Columns," for example? I want this menu to be displayed in top/right of my page. I tried this: <?php wp_nav_menu( array('menu' => 'footer_nav_simple' )); ?>> ...but I keep getting the primary menu.

Share this post


Link to post
Share on other sites
cmunns

You actually will want to try this: `<?php wp_nav_menu( array('theme_location' => 'footer_nav_simple' )); ?>`

Share this post


Link to post
Share on other sites
christiandisenolopezcom

Awesome, that worked, thanks Adam!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×