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

swatch sidebar.php

By: a guest on Jan 30th, 2012  |  syntax: None  |  size: 0.40 KB  |  views: 47  |  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.         // Don't display sidebar if full width
  3.         global $woo_options;
  4.         if ( isset( $woo_options['woo_layout'] ) && $woo_options['woo_layout'] != 'layout-full' ) {
  5. ?>     
  6. <div id="sidebar" class="col-right">
  7.  
  8.         <?php if ( woo_active_sidebar( 'primary' ) ) { ?>
  9.     <div class="primary">
  10.                 <?php woo_sidebar( 'primary' ); ?>                         
  11.         </div>        
  12.         <?php } ?>
  13.        
  14. </div><!-- /#sidebar -->
  15. <?php } ?>
clone this paste RAW Paste Data