2010-03-29 18:03:15 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The Footer widget areas
|
|
|
|
*
|
|
|
|
* @package WordPress
|
2010-05-16 13:10:21 -04:00
|
|
|
* @subpackage Twenty_Ten
|
2010-03-29 18:03:15 -04:00
|
|
|
* @since 3.0.0
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2010-02-07 11:16:26 -05:00
|
|
|
<?php
|
2010-03-26 15:36:49 -04:00
|
|
|
if (
|
2010-03-16 16:17:22 -04:00
|
|
|
is_active_sidebar( 'first-footer-widget-area' ) ||
|
|
|
|
is_active_sidebar( 'second-footer-widget-area' ) ||
|
|
|
|
is_active_sidebar( 'third-footer-widget-area' ) ||
|
2010-03-26 15:36:49 -04:00
|
|
|
is_active_sidebar( 'fourth-footer-widget-area' )
|
2010-03-16 16:17:22 -04:00
|
|
|
) :
|
2010-02-07 11:16:26 -05:00
|
|
|
?>
|
2010-05-10 17:10:12 -04:00
|
|
|
<div id="footer-widget-area" role="complementary">
|
2010-03-16 16:17:22 -04:00
|
|
|
<?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
<div id="first" class="widget-area">
|
|
|
|
<ul class="xoxo">
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php dynamic_sidebar( 'first-footer-widget-area' ); ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
</ul>
|
|
|
|
</div><!-- #first .widget-area -->
|
2010-02-08 13:02:23 -05:00
|
|
|
<?php endif; ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
|
2010-03-16 16:17:22 -04:00
|
|
|
<?php if ( is_active_sidebar( 'second-footer-widget-area' ) ) : ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
<div id="second" class="widget-area">
|
|
|
|
<ul class="xoxo">
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php dynamic_sidebar( 'second-footer-widget-area' ); ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
</ul>
|
|
|
|
</div><!-- #second .widget-area -->
|
2010-02-08 13:02:23 -05:00
|
|
|
<?php endif; ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
|
2010-03-16 16:17:22 -04:00
|
|
|
<?php if ( is_active_sidebar( 'third-footer-widget-area' ) ) : ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
<div id="third" class="widget-area">
|
|
|
|
<ul class="xoxo">
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php dynamic_sidebar( 'third-footer-widget-area' ); ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
</ul>
|
|
|
|
</div><!-- #third .widget-area -->
|
2010-02-08 13:02:23 -05:00
|
|
|
<?php endif; ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
|
2010-03-16 16:17:22 -04:00
|
|
|
<?php if ( is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
<div id="fourth" class="widget-area">
|
|
|
|
<ul class="xoxo">
|
2010-02-13 20:00:22 -05:00
|
|
|
<?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
</ul>
|
|
|
|
</div><!-- #fourth .widget-area -->
|
2010-02-08 13:02:23 -05:00
|
|
|
<?php endif; ?>
|
2010-02-07 11:16:26 -05:00
|
|
|
|
|
|
|
</div><!-- #footer-widget-area -->
|
2010-03-16 16:17:22 -04:00
|
|
|
<?php endif; ?>
|