<?php
/**
 * The sidebar containing the main widget area.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Acme Themes
 * @subpackage Education Base
 */

if ( ! is_active_sidebar( 'education-base-sidebar' ) ) {
	return;
}
$sidebar_layout = education_base_sidebar_selection();
if( $sidebar_layout == "right-sidebar" || empty( $sidebar_layout ) ) : ?>
	<div id="secondary-right" class="at-fixed-width widget-area sidebar secondary-sidebar" role="complementary">
		<div id="sidebar-section-top" class="widget-area sidebar slideInUp1 clearfix">
			<?php dynamic_sidebar( 'education-base-sidebar' ); ?>
		</div>
	</div>
<?php endif;