Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I moved my page navigation from the header to the footer and now I am trying to remove 'home' from the navigation.

In functions.php I added this -

    register_nav_menus( array(
    'primary' => __( 'Primary Menu', 'web2feel' ),
) );
function wp_nav_menu_args( $args ) {
      $args['show_home'] = false;
      return $args;
  }

which usually works, but hasn't this time.

I couldn't work out how to put everything into JSfiddle, apologies. Here is my site.

share|improve this question
1  
If is it a nav menu, then can you remove the items inside the backend, on the menu section, or? –  bueltge Apr 27 at 15:20
    
Have you created particular menu items or is this menu defaulting to a "Page" listing? –  s_ha_dum Apr 27 at 16:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.