From 4e500ed1fc03395c420cbf238f50d02eeb323c35 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Wed, 2 Mar 2016 09:01:22 -0500 Subject: [PATCH] changed slideshow partial to a widget area for meta slider --- root/functions.php | 5 +++++ root/parts/slide-show.php | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/root/functions.php b/root/functions.php index e38572a..1c2e5b9 100644 --- a/root/functions.php +++ b/root/functions.php @@ -21,6 +21,11 @@ if (!function_exists('glm_quicksite_widget_init')) { // 'id' => 'sidebar-f', // 'description' => __('Appears in Footer Area') //)); + register_sidebar(array( + 'name' => __('Slideshow'), + 'id' => 'slideshow', + 'description' => __('Meta Slider/Slideshow Area') + )); } } diff --git a/root/parts/slide-show.php b/root/parts/slide-show.php index e566daa..94844b5 100644 --- a/root/parts/slide-show.php +++ b/root/parts/slide-show.php @@ -1,6 +1,7 @@ -'; - echo do_shortcode("[metaslider id=27]"); - echo ''; -} -?> + +
+ + + +
+ -- 2.17.1