<?php
/**
 * The sidebar containing the main widget area.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package shree
 */
global $shree_theme_options;
$designlayout = $shree_theme_options['shree-layout'];
if ( ! is_active_sidebar( 'sidebar-1' ) || 'no-sidebar' == $designlayout ) {
	return;
}
$side_col = 'left-s-bar';

if( 'left-sidebar' == $designlayout ){
	$side_col = 'right-s-bar  order-md-1';
}

?>
<aside id="secondary" class="col-sm-12 col-md-4 widget-area <?php echo esc_attr($side_col ); ?>" role="complementary">
	<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- #secondary -->

