2010-02-07 17:16:26 +01:00
|
|
|
<?php
|
2010-03-16 21:17:22 +01:00
|
|
|
if (
|
|
|
|
is_active_sidebar( 'first-footer-widget-area' ) ||
|
|
|
|
is_active_sidebar( 'second-footer-widget-area' ) ||
|
|
|
|
is_active_sidebar( 'third-footer-widget-area' ) ||
|
|
|
|
is_active_sidebar( 'fourth-footer-widget-area' )
|
|
|
|
) :
|
2010-02-07 17:16:26 +01:00
|
|
|
?>
|
|
|
|
<div id="footer-widget-area">
|
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; ?>
|