File: /web/data/blog.tbbbearing.com/wp-content/themes/read-more/sidebar.php
<?php
/**
* The sidebar containing the main widget area.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Acme Themes
* @subpackage Read More
*/
if ( ! is_active_sidebar( 'read-more-sidebar' ) ) {
return;
}
$sidebar_layout = read_more_sidebar_selection();
if( $sidebar_layout == 'both-sidebar' ) {
echo '</div>';
}
if( $sidebar_layout == "right-sidebar" || $sidebar_layout == "both-sidebar" || empty( $sidebar_layout ) ) : ?>
<div id="secondary-right" class="at-remove-width widget-area sidebar secondary-sidebar" role="complementary">
<div id="sidebar-section-top" class="widget-area sidebar clearfix">
<?php dynamic_sidebar( 'read-more-sidebar' ); ?>
</div>
</div>
<?php endif;