From: Laury GvR Date: Wed, 17 May 2017 18:31:53 +0000 (-0400) Subject: Remove text from footer, increase fontsize for footer phone number. Link logo to... X-Git-Tag: v1.0.0^2~13 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=684dc5eec275f905cca25a42bb010ac64276fedd;p=WP-Themes%2Fcharlevoixdesign2017.git Remove text from footer, increase fontsize for footer phone number. Link logo to #home section --- diff --git a/functions.php b/functions.php index 0388adc..57b804c 100755 --- a/functions.php +++ b/functions.php @@ -588,4 +588,29 @@ function get_child_pages_by_parent_id($pageId,$limit = -1) } wp_reset_postdata(); return $pages; -} \ No newline at end of file +} + + +/** + * Return the client info option for the given key + * + * @param type $name Name of the client info option to return + * + * @return string Option + */ +if (!function_exists('glm_get_clientinfo_option')) { + function glm_get_clientinfo_option($name) + { + $settings = get_option('glmclientinfo_settings'); + $states = get_option('glmclientinfo_states'); + if ($name == 'stateFull' && $settings['state']) { + return $states[$settings['state']]; + } + if ($name == 'state2Full' && $settings['state2']) { + return $states[$settings['state2']]; + } + return ($settings && $settings[$name]) + ? $settings[$name] + : null; + } +} diff --git a/header.php b/header.php index 90e8737..341a275 100755 --- a/header.php +++ b/header.php @@ -25,7 +25,7 @@ >
@@ -83,10 +83,8 @@