Changeset 5737 for trunk/bp-themes/bp-default/sidebar-footer.php
- Timestamp:
- 02/12/2012 08:09:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/sidebar-footer.php
r3771 r5737 1 1 <?php 2 /* The footer widget area is triggered if any of the areas 3 * have widgets. So let's check that first. 2 /** 3 * The footer widget area is triggered if any of the areas 4 * have widgets. 4 5 * 5 * If none of the sidebars have widgets, then let'sbail early.6 * If none of the sidebars have widgets, bail early. 6 7 */ 7 8 if ( ! is_active_sidebar( 'first-footer-widget-area' ) … … 10 11 && ! is_active_sidebar( 'fourth-footer-widget-area' ) 11 12 ) 12 return; 13 // If we get this far, we have widgets. Let do this. 14 ?> 13 return; ?> 15 14 16 15 <div id="footer-widget-area" role="complementary"> 17 16 18 <?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?> 19 <div id="first" class="widget-area"> 20 <ul class="xoxo"> 21 <?php dynamic_sidebar( 'first-footer-widget-area' ); ?> 22 </ul> 23 </div><!-- #first .widget-area --> 24 <?php endif; ?> 17 <?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?> 25 18 26 <?php if ( is_active_sidebar( 'second-footer-widget-area' ) ) : ?> 27 <div id="second" class="widget-area"> 28 <ul class="xoxo"> 29 <?php dynamic_sidebar( 'second-footer-widget-area' ); ?> 30 </ul> 31 </div><!-- #second .widget-area --> 32 <?php endif; ?> 19 <div id="first" class="widget-area"> 20 <ul class="xoxo"> 21 <?php dynamic_sidebar( 'first-footer-widget-area' ); ?> 22 </ul> 23 </div><!-- #first .widget-area --> 33 24 34 <?php if ( is_active_sidebar( 'third-footer-widget-area' ) ) : ?> 35 <div id="third" class="widget-area"> 36 <ul class="xoxo"> 37 <?php dynamic_sidebar( 'third-footer-widget-area' ); ?> 38 </ul> 39 </div><!-- #third .widget-area --> 40 <?php endif; ?> 25 <?php endif; ?> 41 26 42 <?php if ( is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?> 43 <div id="fourth" class="widget-area"> 44 <ul class="xoxo"> 45 <?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?> 46 </ul> 47 </div><!-- #fourth .widget-area --> 48 <?php endif; ?> 27 <?php if ( is_active_sidebar( 'second-footer-widget-area' ) ) : ?> 28 29 <div id="second" class="widget-area"> 30 <ul class="xoxo"> 31 <?php dynamic_sidebar( 'second-footer-widget-area' ); ?> 32 </ul> 33 </div><!-- #second .widget-area --> 34 35 <?php endif; ?> 36 37 <?php if ( is_active_sidebar( 'third-footer-widget-area' ) ) : ?> 38 39 <div id="third" class="widget-area"> 40 <ul class="xoxo"> 41 <?php dynamic_sidebar( 'third-footer-widget-area' ); ?> 42 </ul> 43 </div><!-- #third .widget-area --> 44 45 <?php endif; ?> 46 47 <?php if ( is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?> 48 49 <div id="fourth" class="widget-area"> 50 <ul class="xoxo"> 51 <?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?> 52 </ul> 53 </div><!-- #fourth .widget-area --> 54 55 <?php endif; ?> 49 56 50 57 </div><!-- #footer-widget-area -->
Note: See TracChangeset
for help on using the changeset viewer.