Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

sidebar-footer

By: a guest on Sep 5th, 2012  |  syntax: None  |  size: 0.74 KB  |  views: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3.  * @package WordPress
  4.  * @subpackage Paradise
  5.  */
  6. ?>
  7. </div>
  8. <!-- End Container -->
  9.  
  10. <?php
  11.         /* The footer widget area is triggered if any of the areas
  12.          * have widgets. So let's check that first.
  13.          *
  14.          * If none of the sidebars have widgets, then let's bail early.
  15.          */
  16.         global $_theme_bottom_sidebar;
  17.         if (!isset($_theme_bottom_sidebar) || empty($_theme_bottom_sidebar) || $_theme_bottom_sidebar == 'disable' || !is_active_sidebar($_theme_bottom_sidebar))
  18.                 return;
  19.         // If we get this far, we have widgets. Let do this.
  20. ?>
  21.  
  22. <!-- Start Footer Sidebar -->
  23. <div id="f_sidebar">
  24.         <div class="sb_wrapper">
  25.                 <?php dynamic_sidebar($_theme_bottom_sidebar); ?>
  26.         </div>
  27.         <div class="clear"></div>
  28. </div>
  29. <!-- End Footer Sidebar -->