This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 30th, 2012  |  syntax: None  |  size: 0.58 KB  |  views: 2  |  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.  * 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 ?>
clone this paste RAW Paste Data