Make WordPress Core


Ignore:
Timestamp:
10/15/2013 04:45:42 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: first pass at CSS revamp, props iamtakashi. See #25592.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/sidebar.php

    r25769 r25788  
    1818
    1919        <?php if ( has_nav_menu( 'secondary' ) ) : ?>
    20         <nav role="navigation" class="navigation secondary-navigation">
     20        <nav role="navigation" class="navigation site-navigation secondary-navigation">
    2121            <?php wp_nav_menu( array( 'theme_location' => 'secondary' ) ); ?>
    2222        </nav>
     
    2424    </div><!-- #secondary-top -->
    2525
    26     <div id="secondary-bottom" class="widget-area" role="complementary">
     26    <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
     27    <div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary">
    2728        <?php
    2829            do_action( 'before_sidebar' );
     
    3031        ?>
    3132    </div><!-- #secondary-bottom -->
     33    <?php endif; ?>
    3234</div><!-- #secondary -->
Note: See TracChangeset for help on using the changeset viewer.