Keijo Salakari
Spectator
Post count: 8
Been thanked: 0 times
#8598 |

Here is code of sidebar 2

—-

<?php
/**
* Template: Sidebar.php
*
* @package EvoLve
* @subpackage Template
*/

$evl_layout = evl_get_option(‘evl_layout’,’2cl’);

$sidebar_css = ”;
if(class_exists(‘Woocommerce’)) {
if(is_cart() || is_checkout() || is_account_page() || (get_option(‘woocommerce_thanks_page_id’) && is_page(get_option(‘woocommerce_thanks_page_id’)))) {
$sidebar_css = ‘display:none’;
}
}

?>
<!–BEGIN #secondary-2 .aside–>
<div id=”secondary-2″ class=”aside <?php if (($evl_layout == “1c”)) {} if (($evl_layout == “3cm” || $evl_layout == “3cl” || $evl_layout == “3cr”)) {echo ‘col-xs-12 col-sm-6 col-md-3’;} else {echo ‘col-sm-6 col-md-4’;} ?>”

<?php if(class_exists(‘Woocommerce’)):
echo ‘style=”‘.$sidebar_css.'”‘;endif;?>

<?php /* Widgetized Area */
if (dynamic_sidebar( ‘sidebar-2’ )) : ?>
<?php endif; /* (!function_exists(‘dynamic_sidebar’) */ ?>
<!–END #secondary-2 .aside–>

</div>

—-

It was similar before installation and after.