output html via _e

This commit is contained in:
koenemann 2017-02-02 12:14:15 +01:00
parent 7a3c25e9c1
commit 883c25fb88
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ if ( $is_woocommerce ) {
} else { } else {
$html .= 'col-md-12 content-area" id="primary">'; $html .= 'col-md-12 content-area" id="primary">';
} }
echo $html; _e( $html );
} elseif ( is_active_sidebar( 'right-sidebar' ) && is_active_sidebar( 'left-sidebar' ) ) { } elseif ( is_active_sidebar( 'right-sidebar' ) && is_active_sidebar( 'left-sidebar' ) ) {
$html = '<div class="'; $html = '<div class="';
if ( 'both' === $sidebar_pos ) { if ( 'both' === $sidebar_pos ) {
@ -53,7 +53,7 @@ if ( $is_woocommerce ) {
} else { } else {
$html .= 'col-md-12 content-area" id="primary">'; $html .= 'col-md-12 content-area" id="primary">';
} }
echo $html; _e( $html );
} else { } else {
echo '<div class="col-md-12 content-area" id="primary">'; echo '<div class="col-md-12 content-area" id="primary">';
} }