ISSUE with Header builder + feature / shortcode request if possible

Hi there,

I’m trying to update a clients site.
Issue 1: In header builder I select ‘Home - HUNGARY’ for the only available header, but the header doesn’t update on the page.

Issue / request no.2: The client is involved in two markets / HU and CZ. Thing is, 90% of the pages have the same name. Header builder only shows me the name of the given page. Is there a way to have a category or tag prefix show up in the header builder so I know which menu to assign to the HU and which to the CZ page?

I made a video to explain more easily: https://youtu.be/ucsECcYZVCw

The testsite can be found here: http://melapacktest.ethermedia.hu/

Hi @Pbalazs89,

Thank you for writing in, before you can translate the headers and the footers, please go to WPML > Translation Management > Multilingual Content Setup > Post Types Translation, and enable cs_header and cs_footer. After it is enabled, you should be able to edit the custom header/footer in different languages just like how you translate the post/page contents.

For further information, please check out this thread: https://theme.co/apex/forum/t/translate-pro-header-custom-buttons/26087

Hope this helps,
Cheers!

That’s not what I need, the site isn’t even multi-lingual. Did you check the video I added to the description?

The website is separated by market segments. All content is in english so tranlations are not required.

There is a bug because the header does not apply to the selected page, and I’m asking for a feature for easier page identification.

Hey @Pbalazs89,

Since you’ve only one header so I went ahead and made the header Global via Header Builder and now your header shows correctly on the Home - Hungary page.

Regarding the feature you requested, we can add to our list of feature requests. This way it can be taken into consideration for future development. All of these items are discussed with our team internally and prioritized based on the amount of interest a particular feature might receive.

Thanks!

Hi @nabeel,

Here’s the thing. Right now I do have only ONE header, but I want two create another one.

  1. HEADER for the CZ market
  2. HEADER for the HU market

The current one was created as a test, and I can’t assign in to the Hungarian page. So the GLOBAL setting will not work for me. Why am I not able to assign it individually to pages, why does it only work as a GLOBAL header?

*EDIT: I managed to figure out since my last post, that this is an issue with WPML. I have the latest PRO and WPML installed, but if I have WPML Multilingual CMS 4.3.1.6 activated, the custom header “Melapack - Hungary” can’t be applied to the page "Home - Hungary"

Could you help?

Hey @Pbalazs89,

The Builder will show the pages per Language. To assign a Header to a page that’s using a specific language, you need to switch WPML to the said language first.

image

When you visit the Header Builder, you’ll see the pages of the activated language.

Hope that helps.

Hey @christian,

I don’t know if I’m explaining this in a wrong way. My issue has nothing to do with not seeing the Page in Header builder. The Header is applied to the correct page through header builder / The issue is that it will not apply the header template to that page on the front end. It will continue using the old standard header.

I’ll make a new video to showcase the issue:

https://youtu.be/O7qagXL3WKs

Thanks a bunch!

Hello @Pbalazs89,

You are experiencing this issue because you did NOT install WPML Translation Management extension as well. And by the way, please make sure that you have updated WPML plugin and all of its extensions to the latest version.

Please let us know if this works out for you. Thanks.

Hi there.

I just installed WPML Translation Management. ALL WPML plugins are up to date. PRO is up to date as well.
Unfortunately, issue it not fixed.

Any other suggestions? Thanks for looking into it.

Hi @Pbalazs89,

Actually, @christian is correct, and one thing I noticed is in your video, there is no language flag option that allows you to translate/duplicate a header. This means, what you’re creating is one header for all language in which its styling is not loaded, since it’s basically assigned to the page ID. And there are two pages of home page, one for reach language, hence two IDs as well.

Hence, I checked and duplicated the header for Hungarian, then tried to switch to CZECH through preview language flag, and it says there is no translation. And the copy-existing is empty as well which shouldn’t be, since the existing header for Hungarian exists.

It’s empty due to javascript error caused by grecaptcha, as shown here

image

So I went ahead and deactivated the plugins and the existing translation now displays it okay

Again, this is not related to the issue. The issue I’m seeing why it’s not displaying it the same as the preview (actual page versus builder preview) is cache. I saw a similar case and not limited to header, and when it’s moved to another host, it displays the front okay the same as on the preview.

But one thing for sure, it works okay when the header is set as global instead of assigning it per page. Could you try checking it again? I set X Header that I created as global (please note the plugins are still disabled).

Thanks!

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