<?php
/**
 * The Sidebar containing the main widget areas.
 *
 * @since vantage 1.0
 *
 * @license GPL 2.0
 */
if ( ! in_array( siteorigin_page_setting( 'layout', 'default' ), array( 'default', 'full-width-sidebar' ), true ) ) {
	return;
}
?>

<div id="secondary" class="widget-area" role="complementary">
	<?php do_action( 'before_sidebar' ); ?>
	<?php dynamic_sidebar( 'sidebar-1' ); ?>
	<?php do_action( 'after_sidebar' ); ?>
</div><!-- #secondary .widget-area -->
