Advertisement
Guest User

Untitled

a guest
Oct 30th, 2012
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. <?php
  2. /**
  3. * Sidebar Template
  4. *
  5. * If a `primary` widget area is active and has widgets, display the sidebar.
  6. *
  7. * @package WooFramework
  8. * @subpackage Template
  9. */
  10. global $woo_options;
  11.  
  12. if ( isset( $woo_options['woo_layout'] ) && ( $woo_options['woo_layout'] != 'layout-full' ) ) {
  13. ?>
  14. <aside id="sidebar" class="col-right">
  15.  
  16. <?php if ( woo_active_sidebar( 'primary' ) ) { ?>
  17. <div class="primary">
  18. <?php woo_sidebar( 'primary' ); ?>
  19. </div>
  20. <?php } // End IF Statement ?>
  21.  
  22. </aside><!-- /#sidebar -->
  23. <?php } // End IF Statement ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement