From 2c915e4c424228ad48e18f33cee848b88aa87d9d Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 20 Jun 2016 16:08:49 -0400 Subject: [PATCH] added email to client info and restricted pst type to pages in functions.php for header image --- functions.php | 9 ++++++--- parts/client-info-footer.php | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index 21ad351..6db79f5 100644 --- a/functions.php +++ b/functions.php @@ -75,7 +75,7 @@ function glm_site_scripts() function glm_get_header() { echo 'post->ID)) return true; - return false; + if($type == get_post_type($wp_query->post->ID)){ + return true; + } else { + return false; + } } add_action('thematic_searchloop', 'mytheme_search_loop'); diff --git a/parts/client-info-footer.php b/parts/client-info-footer.php index f7d6a86..b4a8730 100644 --- a/parts/client-info-footer.php +++ b/parts/client-info-footer.php @@ -23,7 +23,7 @@ -
+
Blog -- 2.17.1