I have about 60 landing pages that use different phone numbers on them. I am using a combination of WordPress and Advanced Custom Fields to place the phone numbers on their respective pages.
I am being asked to show a <div>
based on the landing page URL that will not only show the phone number assigned to that page, but, keep showing the <div>
(and phone number) regardless of what page the user navigates to on the website.
I have found little to no support on how to make the <div>
remain visible throughout the entire session until the user closes the window.
I am thinking that this will somehow revolve around a cookie and Dynamic Number Insertion but I have no real progress to speak of. Should this be done using PHP or JS? Does a plugin exist that would allow for this on WordPress? I'm open to all suggestions.