From 25d09860945c3e33e71b56ce2bf3a909a935494b Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Tue, 24 Jan 2017 16:19:35 -0500 Subject: [PATCH] adding a widget area Adding a widget area for the slideshow. --- functions.php | 5 +++++ parts/slide-show.php | 15 +++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/functions.php b/functions.php index f6f32e6..6dc7759 100644 --- a/functions.php +++ b/functions.php @@ -15,6 +15,11 @@ if (!function_exists('glm_quicksite_widget_init')) { 'id' => 'sidebar-r', 'description' => __('Appears in Right Sidebar') )); + register_sidebar(array( + 'name' => __('Slideshow'), + 'id' => 'slideshow', + 'description' => __('Slideshow/Metaslider Area') + )); //register_sidebar(array( // 'name' => __('Footer'), // 'id' => 'sidebar-f', diff --git a/parts/slide-show.php b/parts/slide-show.php index d5f02ac..108121c 100644 --- a/parts/slide-show.php +++ b/parts/slide-show.php @@ -1,11 +1,10 @@ -'; - echo do_shortcode("[metaslider id=14]"); - echo do_shortcode("[metaslider id=34]"); - echo do_shortcode("[metaslider id=840]"); - echo ''; -} -?> + +
+ + + +
+

Life… Is Good… In The Center Of It All

-- 2.17.1