Dynamic Footer & Header

Hi, I have a client that will have a zipcode finder built into the site, is it possible based on a certain zipcode, to have a certain header & Footer on a given page. There are only 5 service areas, so there would be 5 footer/header combinations.

Fo instance a blog page, and the user has entered a zipcode that reveals the east-coast service area, is it possible to then show the east-coast footer/header on the whole site or on certain pages?

Hey Andrew,

That is possible programmatically. That means you need to use a child theme and filter the Header and Footer Assignment.

Before I provide the link to the article or instruction, please note that custom coding including fixing and enhancing custom codes falls outside the scope of our theme support therefore if you are not a WordPress developer or you can’t understand the article that I’m about to give you, you’d need to hire one.

Here’s the article for the header and footer assignment: https://michaelbourne.ca/assign-pro-header-search-results-page/

Hope that helps and thank you for understanding.

Awesome!!

Thanks

You’re most welcome,

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.