From: Anthony Talarico Date: Tue, 27 Feb 2018 21:20:27 +0000 (-0500) Subject: adding filter for get_template_directory X-Git-Tag: v1.0.0^2~85 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=24067cfb3fc8e2caa2f356137b71bb3060425ea5;p=WP-Themes%2Fdiscoverkalamazoo2018.git adding filter for get_template_directory adding filter to get template directory uri --- diff --git a/functions.php b/functions.php index 345e47e..3dcfae0 100644 --- a/functions.php +++ b/functions.php @@ -213,7 +213,9 @@ add_filter('get_user_option_admin_color', function($result) { } return $result; }); - +add_filter('get_template_url', function() { + return get_template_directory_uri(); +}); /* * If the current user is not an admin and is a member, diff --git a/sections/footer.php b/sections/footer.php index 17a572d..07e579f 100644 --- a/sections/footer.php +++ b/sections/footer.php @@ -11,7 +11,7 @@
-
+

LET US BE YOUR GUIDE.

Sign up to recieve news and special offers.