Making WordPress.org

Ticket #3105: 3105.diff

File 3105.diff, 877 bytes (added by xkon, 7 years ago)

disable wporg-breathe header submenus

  • wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/header.php

     
    1515        <nav id="site-navigation" class="navigation-main clear" role="navigation">
    1616                <div class="screen-reader-text skip-link"><a href="#content" title="<?php _e( 'Skip to content', 'p2-breathe' ); ?>"><?php _e( 'Skip to content', 'p2-breathe' ); ?></a></div>
    1717
    18                 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'fallback_cb' => false ) ); ?>
     18                <?php wp_nav_menu( array( 'theme_location' => 'primary', 'fallback_cb' => false, 'depth' => 1 ) ); ?>
    1919        </nav><!-- .navigation-main -->
    2020</header><!-- .site-header -->
    2121