Advertisement
Guest User

new sidebar-footer.php

a guest
Mar 19th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <?php
  2. /**
  3. * The footer widget area is triggered if any of the areas
  4. * have widgets.
  5. *
  6. * If none of the sidebars have widgets, bail early.
  7. */
  8. if ( ! is_active_sidebar( 'first-footer-widget-area' )
  9. )
  10. return; ?>
  11.  
  12. <div id="footer-widget-area" role="complementary">
  13.  
  14. <?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?>
  15.  
  16. <div id="first" class="widget-area">
  17. <ul class="xoxo">
  18. <?php dynamic_sidebar( 'first-footer-widget-area' ); ?>
  19. </ul>
  20. </div><!-- #first .widget-area -->
  21.  
  22. <?php endif; ?>
  23.  
  24. </div><!-- #footer-widget-area -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement