From: Ian Weller Date: Tue, 24 Jan 2017 21:19:35 +0000 (-0500) Subject: adding a widget area X-Git-Tag: v1.0.0^2~81 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=25d09860945c3e33e71b56ce2bf3a909a935494b;p=WP-Themes%2Ftruenorthgolf.git adding a widget area Adding a widget area for the slideshow. --- 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