- Timestamp:
- 08/20/2013 05:52:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/sidebar-footer.php
r24832 r25065 1 1 <?php 2 2 /** 3 * The Sidebar containing the main widget area s.3 * The Sidebar containing the main widget area. 4 4 * 5 5 * @package WordPress … … 8 8 ?> 9 9 <?php 10 if ( ! is_active_sidebar( 'sidebar-3' ) 11 && ! is_active_sidebar( 'sidebar-4' ) 12 && ! is_active_sidebar( 'sidebar-5' ) 13 && ! is_active_sidebar( 'sidebar-6' ) 14 && ! is_active_sidebar( 'sidebar-7' ) 15 ) 16 return; 10 if ( ! is_active_sidebar( 'sidebar-3' ) ) 11 return; 17 12 ?> 18 <div id="supplementary" <?php twentyfourteen_footer_sidebar_class(); ?>> 13 <div id="supplementary"> 14 19 15 <?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?> 20 <div id="footer-sidebar -one" class="widget-area" role="complementary">16 <div id="footer-sidebar" class="widget-area" role="complementary"> 21 17 <?php dynamic_sidebar( 'sidebar-3' ); ?> 22 </div><!-- #f irst .widget-area-->18 </div><!-- #footer-sidebar --> 23 19 <?php endif; ?> 24 20 25 <?php if ( is_active_sidebar( 'sidebar-4' ) ) : ?>26 <div id="footer-sidebar-two" class="widget-area" role="complementary">27 <?php dynamic_sidebar( 'sidebar-4' ); ?>28 </div><!-- #second .widget-area -->29 <?php endif; ?>30 31 <?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?>32 <div id="footer-sidebar-three" class="widget-area" role="complementary">33 <?php dynamic_sidebar( 'sidebar-5' ); ?>34 </div><!-- #third .widget-area -->35 <?php endif; ?>36 37 <?php if ( is_active_sidebar( 'sidebar-6' ) ) : ?>38 <div id="footer-sidebar-four" class="widget-area" role="complementary">39 <?php dynamic_sidebar( 'sidebar-6' ); ?>40 </div><!-- #fourth .widget-area -->41 <?php endif; ?>42 <?php if ( is_active_sidebar( 'sidebar-7' ) ) : ?>43 <div id="footer-sidebar-five" class="widget-area" role="complementary">44 <?php dynamic_sidebar( 'sidebar-7' ); ?>45 </div><!-- #fourth .widget-area -->46 <?php endif; ?>47 21 </div><!-- #supplementary -->
Note: See TracChangeset
for help on using the changeset viewer.