3 * The Footer widget areas.
6 * @subpackage Twenty_Ten
7 * @since Twenty Ten 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( 'first-footer-widget-area' )
18 && ! is_active_sidebar( 'second-footer-widget-area' )
19 && ! is_active_sidebar( 'third-footer-widget-area' )
20 && ! is_active_sidebar( 'fourth-footer-widget-area' )
23 // If we get this far, we have widgets. Let do this.
26 <div id="footer-widget-area" role="complementary">
28 <?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?>
29 <div id="first" class="widget-area">
31 <?php dynamic_sidebar( 'first-footer-widget-area' ); ?>
33 </div><!-- #first .widget-area -->
36 <?php if ( is_active_sidebar( 'second-footer-widget-area' ) ) : ?>
37 <div id="second" class="widget-area">
39 <?php dynamic_sidebar( 'second-footer-widget-area' ); ?>
41 </div><!-- #second .widget-area -->
44 <?php if ( is_active_sidebar( 'third-footer-widget-area' ) ) : ?>
45 <div id="third" class="widget-area">
47 <?php dynamic_sidebar( 'third-footer-widget-area' ); ?>
49 </div><!-- #third .widget-area -->
52 <?php if ( is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?>
53 <div id="fourth" class="widget-area">
55 <?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?>
57 </div><!-- #fourth .widget-area -->
60 </div><!-- #footer-widget-area -->