From 24067cfb3fc8e2caa2f356137b71bb3060425ea5 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 27 Feb 2018 16:20:27 -0500 Subject: [PATCH] adding filter for get_template_directory adding filter to get template directory uri --- functions.php | 4 +++- sections/footer.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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.
-- 2.17.1