Headers and Footers Assigning to Pages Inconsistently

I make a series of landing pages for clients, each of which has a custom header and footer with the company’s branding. It has become a challenge to make these header/footer assignments stick consistently. Is there a particular naming protocol that I should be following for headers and footers, because that seems to make a difference?

For example, say I have a client named SampleCU. If I name the header “header-SampleCU” it may work. Until it doesn’t anymore. But then if I add a digit such as “00-header-SampleCU,” the assignment may work again. But not in all cases. And for some other clients, the “header” prefix didn’t work at all, but if I used “head” or a different abbreviation, it then would work. And it seems to change with every theme update.

Clearly I’m doing something wrong. I’ve deactivated all plugins in a staging environment and the issue persists. Any help would be appreciated.

Hi @mbrent,

Thanks for reaching out!

I suspect what you are experiencing is a cache issue… Please clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Hope that helps and let us know how it goes.

Thank you for the quick response!

Unfortunately, I have flushed every cache I can find and the issue persists.

An example from today:

I have a page for a client - the page is named “Integro Bank”
I created a header named “head-Integro Bank” and a footer named “111-Integro Bank”
Both are assigned to the page, but neither appear – neither on the frontend nor the backend.

However, if I change the name of the header to “100-head-Integro Bank” and the footer to “00-Integro Bank” – and change nothing else – both the header and footer now appear. If I rename either of them, the header or footer is gone again.

Any thoughts as to what I’m doing wrong?

Hello @mbrent,

We cannot check your headers because the given credentials are not working for us.

Naming convention should not be an issue. It could be the priority number or the condition of your header that is overriding with each other.

Please double check your given credentials so that we can log in and investigate your issue.

Thanks.

Apologies. That was a typo. I’ve provided the correct credentials.

Hi @mbrent,

This is an ongoing issue with the latest version of the theme of Duplicating the Header and renaming it. I have already reported this issue to our development team for further investigation.
As a temporary solution, I would suggest you not rename the duplicate Header.

Thanks

Thank you for the response. I’ll use whatever workarounds I can devise at the moment. Hopefully, a permanent fix will come soon.

Thank you.

You are most welcome, @mbrent.

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