From ca8c7374c054515ad62e485c56b9de3a99ce6abb Mon Sep 17 00:00:00 2001 From: Stef Kariotidis Date: Sat, 5 Nov 2016 14:35:33 +0200 Subject: [PATCH] left and right sidebars --- sidebar-left.php | 11 ++++++----- sidebar-right.php | 9 +++++---- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/sidebar-left.php b/sidebar-left.php index 4a4b3ad..f8e517b 100644 --- a/sidebar-left.php +++ b/sidebar-left.php @@ -5,18 +5,19 @@ * @package understrap */ -if ( ! is_active_sidebar( 'right-sidebar' ) || ! is_active_sidebar( 'right-sidebar' ) ) { +if ( ! is_active_sidebar( 'left-sidebar' ) ) { return; } -// when both sidebars turned one, reduce col size to 3 from 4. + +// when both sidebars turned on reduce col size to 3 from 4. $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); ?> -