Title: Remove menus using WordPress Appearance option
Last modified: August 30, 2016

---

# Remove menus using WordPress Appearance option

 *  [clarcombe](https://wordpress.org/support/users/clarcombe/)
 * (@clarcombe)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-menus-using-wordpress-appearance-option/)
 * I have removed the menu options from the front page via appearances-menus-edit
   menus, however the menu is still being displayed on the side.
 * How can I force WordPress to update my site to remove the menus.

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

 *  Thread Starter [clarcombe](https://wordpress.org/support/users/clarcombe/)
 * (@clarcombe)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-menus-using-wordpress-appearance-option/#post-6290277)
 * The link to my site if required
 *  [Tim S](https://wordpress.org/support/users/tim-s/)
 * (@tim-s)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-menus-using-wordpress-appearance-option/#post-6290282)
 * Please provide a valid URL so we can see.
 *  Thread Starter [clarcombe](https://wordpress.org/support/users/clarcombe/)
 * (@clarcombe)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-menus-using-wordpress-appearance-option/#post-6290289)
 * I tried earlier but it wouldnt let me post a link
    colinlarcombe.com
 *  [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * (@ravipatel)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-menus-using-wordpress-appearance-option/#post-6290292)
 * Hii [@clarcombe](https://wordpress.org/support/users/clarcombe/),
 * Thats display on your theme primary menu. if u remove so display by default pages
   like menu.
 * so go on header file and make a code like this.
 *     ```
       <?php
        if(!is_home()){
             wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu', 'menu_id' => 'primary-menu' ) );
        }
       ?>
       ```
   
 * or u can add this code on function.php
 *     ```
       <?php
       function remove_from_home( $args ){
               if(!is_home()){
                   return $args;
               }
       }
       add_filter( 'wp_page_menu_args', 'remove_from_home', 40 );
       ?>
       ```
   
 *  Thread Starter [clarcombe](https://wordpress.org/support/users/clarcombe/)
 * (@clarcombe)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-menus-using-wordpress-appearance-option/#post-6290402)
 * Ravi,
 * Thanks for that. I was hoping to be able to do this without altering the code
   and just by using the WordPress options from WordPress home.
 * How would I alter the code if I had to do this. Do I physically have to go to
   the server and remove the offending lines from the HTML page ?

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

The topic ‘Remove menus using WordPress Appearance option’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [clarcombe](https://wordpress.org/support/users/clarcombe/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/remove-menus-using-wordpress-appearance-option/#post-6290402)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
