Title: Two menus appearing
Last modified: August 30, 2016

---

# Two menus appearing

 *  Resolved [timeforbed](https://wordpress.org/support/users/timeforbed/)
 * (@timeforbed)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/two-menus-appearing/)
 * Hi all,
 * Totally new to WordPress and only started building my site three days ago. Just
   as I thought I was making progress, I have somehow managed to end up with two
   of the same menu. And it isn’t even the menu I want 🙁
 * I’ve pasted some code below from my menu.php but I’m not even sure if it’s the
   right thing to include. The site is [http://www.medlearn-online.com](http://www.medlearn-online.com)
 * If anyone can help I’d really appreciate it.
 * Many thanks in advcance.
 *     ```
       <?php
       /**
        * Part Name: Default Menu
        */
   
       $ubermenu_active = function_exists( 'ubermenu' );
       $nav_classes = array( 'site-navigation' );
       if ( ! $ubermenu_active ) {
       	$nav_classes[] = 'main-navigation';
       }
       $nav_classes[] = 'primary';
   
       if ( siteorigin_setting( 'navigation_use_sticky_menu' ) ) {
       	$nav_classes[] = 'use-sticky-menu';
       }
   
       if ( siteorigin_setting( 'navigation_mobile_navigation' ) ) {
       	$nav_classes[] = 'mobile-navigation';
       }
       ?>
   
       <nav role="navigation" class="<?php echo implode( ' ', $nav_classes) ?>">
   
       	<div class="full-container">
       		<?php if( siteorigin_setting('navigation_menu_search') ) : ?>
       			<div id="search-icon">
       				<div id="search-icon-icon"><div class="vantage-icon-search"></div></div>
       				<form method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
       					<input type="text" class="field" name="s" value="<?php echo esc_attr( get_search_query() ); ?>" />
       				</form>
       			</div>
       		<?php endif; ?>
   
       		<?php if( $ubermenu_active ): ?>
       			<?php ubermenu( 'main' , array( 'menu' => 2 ) ); ?>
       		<?php else: ?>
       			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'link_before' => '<span class="icon"></span>' ) ); ?>
       		<?php endif; ?>
       	</div>
       </nav><!-- .site-navigation .main-navigation -->
       ```
   
 * _[Moderator note: Please wrap code in the backticks or use the code button. As
   it stands, your code may now have been permanently damaged/corrupted by the forum’s
   parser: See [http://codex.wordpress.org/Forum\_Welcome#Posting\_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code);
   [http://codex.wordpress.org/Forum\_Welcome#Posting\_Large\_Excerpt\_of\_Code%5D](http://codex.wordpress.org/Forum_Welcome#Posting_Large_Excerpt_of_Code%5D)_

Viewing 1 replies (of 1 total)

 *  Thread Starter [timeforbed](https://wordpress.org/support/users/timeforbed/)
 * (@timeforbed)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/two-menus-appearing/#post-6203437)
 * Sorted now – I disbaled the Custome Simple CSS plug in and it went back to normal.
   Phew!

Viewing 1 replies (of 1 total)

The topic ‘Two menus appearing’ is closed to new replies.

## Tags

 * [two](https://wordpress.org/support/topic-tag/two/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [timeforbed](https://wordpress.org/support/users/timeforbed/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/two-menus-appearing/#post-6203437)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
