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