Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Sidebar Template
- *
- * If a `primary` widget area is active and has widgets, display the sidebar.
- *
- * @package WooFramework
- * @subpackage Template
- */
- global $woo_options;
- if ( isset( $woo_options['woo_layout'] ) && ( $woo_options['woo_layout'] != 'layout-full' ) ) {
- ?>
- <aside id="sidebar" class="col-right">
- <?php if ( woo_active_sidebar( 'primary' ) ) { ?>
- <div class="inner">
- <?php woo_sidebar( 'primary' ); ?>
- </div>
- <?php } // End IF Statement ?>
- </aside><!-- /#sidebar -->
- <?php } // End IF Statement ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement