From d01a8d319b084dba0fe1acdb5ede275958881056 Mon Sep 17 00:00:00 2001 From: sixhours Date: Thu, 26 Jun 2014 11:06:33 -0400 Subject: [PATCH] is_active_sidebar() check Check to ensure sidebar is active before displaying #secondary --- sidebar.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sidebar.php b/sidebar.php index 5d4766d1..6c1aa9e9 100644 --- a/sidebar.php +++ b/sidebar.php @@ -4,6 +4,9 @@ * * @package _s */ + +if ( ! is_active_sidebar( 'sidebar-1' ) ) : + return; ?>