Title: Adding A Custom Menu To A Theme?
Last modified: August 20, 2016

---

# Adding A Custom Menu To A Theme?

 *  [Jasong959](https://wordpress.org/support/users/jasong959/)
 * (@jasong959)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/adding-a-custom-menu-to-a-theme/)
 * I’ve added add_theme_support( ‘menus’ ); to the functions.php file to enable 
   custom menus.
 * Now I need to add the following to my theme:
 * <?php wp_nav_menu( array( ‘sort_column’ => ‘menu_order’, ‘container_class’ =>‘
   menu-header’ ) ); ?>
 * My question is, where do I add it to?
    Ihave two sidebars on the right-hand side,
   I’m looking for this to be added to the left-sidebar, could someone please have
   a quick look and let me know where the code should go? The URL is whatisthatallabout.
   com
 * Thanks in advance!!
 * Jason

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Matt](https://wordpress.org/support/users/sksmatt/)
 * (@sksmatt)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/adding-a-custom-menu-to-a-theme/#post-2115547)
 * Hi Jason,
 * You could get away using the custom menu widget.
    [http://en.support.wordpress.com/widgets/custom-menu-widget/](http://en.support.wordpress.com/widgets/custom-menu-widget/)
 * Otherwise you will have to show your theme’s code for an accurate response. If
   the theme is coded correctly it should be on sidebar.php. Try adding the menu
   code bellow <div id=”sidebar”>.
 * Kind Regards!
 *  Thread Starter [Jasong959](https://wordpress.org/support/users/jasong959/)
 * (@jasong959)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/adding-a-custom-menu-to-a-theme/#post-2115551)
 * Hi mate,
 * Thanks a lot for your reply. I posted this question on several other forums yesterday
   and didn’t even get a single response from any of them, so it’s greatly appreciated!
 * To be honest I’m not sure if that, or the code I posted is what I need. So perhaps
   if tell I you what it is I’m trying to achieve, you could point me in the right
   driection.
 * If you visit [http://whatisthatallabout.com/](http://whatisthatallabout.com/)
   you’ll see that there’s a social networking category, with a sub-category named
   Twitter. I’m aiming to have the sub-categories hidden, but visible when the user
   hovers the mouse over the category. What’s the easiest way to do that?
 * Thanks again!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding A Custom Menu To A Theme?’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [Jasong959](https://wordpress.org/support/users/jasong959/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/adding-a-custom-menu-to-a-theme/#post-2115551)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
