3 * The Footer widget areas.
6 * @subpackage Twenty_Eleven
7 * @since Twenty Eleven 1.0
12 /* The footer widget area is triggered if any of the areas
13 * have widgets. So let's check that first.
15 * If none of the sidebars have widgets, then let's bail early.
17 if ( ! is_active_sidebar( 'sidebar-3' )
18 && ! is_active_sidebar( 'sidebar-4' )
19 && ! is_active_sidebar( 'sidebar-5' )
22 // If we get this far, we have widgets. Let do this.
24 <div id="supplementary" <?php twentyeleven_footer_sidebar_class(); ?>>
25 <?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
26 <div id="first" class="widget-area" role="complementary">
27 <?php dynamic_sidebar( 'sidebar-3' ); ?>
28 </div><!-- #first .widget-area -->
31 <?php if ( is_active_sidebar( 'sidebar-4' ) ) : ?>
32 <div id="second" class="widget-area" role="complementary">
33 <?php dynamic_sidebar( 'sidebar-4' ); ?>
34 </div><!-- #second .widget-area -->
37 <?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?>
38 <div id="third" class="widget-area" role="complementary">
39 <?php dynamic_sidebar( 'sidebar-5' ); ?>
40 </div><!-- #third .widget-area -->
42 </div><!-- #supplementary -->