i want to change the phone number in my header dynamically depending on page
-
Hi
I hope this is the right place to post this – apologies if not.
I have a unique landing page for my online advertising campaigns and I would really like to know how to do 2 things:
1) Dynamically change the number in the footer when a user visits this page from the normal office number to a unique number for tracking purposes
2) remove the footer links from the footer to prevent users clicking away to other parts of the site.
The page is: https://www.twinkleclean.co/end-of-tenancy-cleaning-london/
the header.php template file is using this code to display the main office number ($gdl_social_wrapper_text) at the min – it’s pulling it in from the modernize control panel but I can always bypass this with any new conditional php code:
if( !empty($gdl_social_wrapper_text) ){
echo ‘<div class=”social-wrapper-text”>’ . $gdl_social_wrapper_text . ‘</div>I’m using the modernize theme
- The topic ‘i want to change the phone number in my header dynamically depending on page’ is closed to new replies.