fixing sidebar check
This commit is contained in:
parent
d583e3487d
commit
f112fa0d17
|
@ -15,11 +15,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
<?php get_sidebar( 'left' ); ?>
|
<?php get_sidebar( 'left' ); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php
|
<?php {
|
||||||
|
|
||||||
if ( $is_woocommerce ) {
|
|
||||||
echo '<div class="col-md-12 content-area" id="primary">';
|
|
||||||
} else {
|
|
||||||
$html = '';
|
$html = '';
|
||||||
if ( 'right' === $sidebar_pos || 'left' === $sidebar_pos ) {
|
if ( 'right' === $sidebar_pos || 'left' === $sidebar_pos ) {
|
||||||
$html = '<div class="';
|
$html = '<div class="';
|
||||||
|
|
Reference in New Issue