Making WordPress.org


Ignore:
Timestamp:
03/17/2015 05:27:02 PM (9 years ago)
Author:
obenland
Message:

WP.org Themes: New place for the secondary navigation.

Moves the navigation underneath the heading band, regardless of screen size.

See #947.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php

    r1211 r1406  
    1414    <div class="wrapper">
    1515        <h2 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h2>
    16         <nav id="site-navigation" class="main-navigation" role="navigation">
    17             <?php
    18                 wp_nav_menu( array(
    19                     'theme_location' => 'primary',
    20                     'container'      => false,
    21                     'depth'          => 1,
    22                 ) );
    23             ?>
    24         </nav>
    2516    </div>
    2617</div>
     18<nav id="site-navigation" class="main-navigation" role="navigation">
     19    <?php
     20        wp_nav_menu( array(
     21            'theme_location' => 'primary',
     22            'container'      => false,
     23            'depth'          => 1,
     24        ) );
     25    ?>
     26</nav>
Note: See TracChangeset for help on using the changeset viewer.