<?php
/**
 *
 * @package magplus
 */
$layout = (is_archive() || is_search()) ? 'right_sidebar':magplus_get_opt('main-layout');
if ($layout == 'left_sidebar'): ?>
  </div>
</div><!-- .row -->
<?php elseif ($layout == 'right_sidebar' || $layout == 'dual_sidebar'): ?>
  </div>
  <?php get_sidebar('right'); ?>
 </div><!-- .row -->
<?php else: ?>
	</div>
</div>
<?php endif; ?>
