From: Ian Weller Date: Wed, 2 Mar 2016 14:01:22 +0000 (-0500) Subject: changed slideshow partial to a widget area for meta slider X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=4e500ed1fc03395c420cbf238f50d02eeb323c35;p=web%2FGruntInit%2FglmTheme.git changed slideshow partial to a widget area for meta slider --- 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 ''; -} -?> + +
+ + + +
+