From: Steve Sutton Date: Thu, 20 Nov 2014 15:34:51 +0000 (-0500) Subject: Changing from locations widget to function call X-Git-Tag: v1.0.0~65 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=230c182249d00145f7fd866213e84375ddda354d;p=WP-Themes%2FPrestonFeather.git Changing from locations widget to function call --- diff --git a/footer.php b/footer.php index 3ffacbf..207caab 100644 --- a/footer.php +++ b/footer.php @@ -4,8 +4,8 @@
- - + +
diff --git a/functions.php b/functions.php index 2800b02..91a9254 100755 --- a/functions.php +++ b/functions.php @@ -90,17 +90,4 @@ function glm_google_map($w = '500px', $h = '200px') return sprintf($format, $w, $h); } add_action('wp_enqueue_scripts', 'preston_feather_scripts'); -add_action('widgets_init', 'preston_widget_init'); -if (!function_exists('preston_widget_init')) { - - function preston_widget_init() - { - register_sidebar(array( - 'name' => __('Footer'), - 'id' => 'sidebar-f', - 'description' => __('Appears in Footer Area') - )); - } - -} ?> \ No newline at end of file