From dad1119c57a800402c20df0408347cdf77ce40a6 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 30 Jun 2017 14:44:07 -0400 Subject: [PATCH] Separate widget areas for left/right header ads --- functions.php | 11 ++++++++--- sections/header.php | 16 +++++++++++++--- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/functions.php b/functions.php index 0385f62..fdcd620 100644 --- a/functions.php +++ b/functions.php @@ -20,9 +20,14 @@ if (!function_exists('glm_quicksite_widget_init')) { 'description' => __('Meta Slider/Slideshow Area') )); register_sidebar(array( - 'name' => __('Header Ads'), - 'id' => 'header-ads', - 'description' => __('For Ads in the Header') + 'name' => __('Header Ads - Left'), + 'id' => 'header-ads-left', + 'description' => __('For left ads in the header') + )); + register_sidebar(array( + 'name' => __('Header Ads - Right'), + 'id' => 'header-ads-right', + 'description' => __('For right ads in the header') )); } diff --git a/sections/header.php b/sections/header.php index aea4223..16a9549 100644 --- a/sections/header.php +++ b/sections/header.php @@ -3,9 +3,19 @@
-- 2.17.1