fixing sidebar check

This commit is contained in:
Holger Könemann 2017-02-11 09:08:53 +01:00
parent d583e3487d
commit f112fa0d17
1 changed files with 1 additions and 5 deletions

View File

@ -15,11 +15,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
<?php get_sidebar( 'left' ); ?>
<?php endif; ?>
<?php
if ( $is_woocommerce ) {
echo '<div class="col-md-12 content-area" id="primary">';
} else {
<?php {
$html = '';
if ( 'right' === $sidebar_pos || 'left' === $sidebar_pos ) {
$html = '<div class="';