Set custom header for every language

Posted in: Newspaper
Post count: 2

Hi, I am using a polylang plugin for my site and I want to set a custom header for every language,
I used the tagdiv custom header and its work fine for the main page of every lang only but when I visit any other pages like category or single post it get the global header with the main language logo.

Post count: 27744

Hello,

Unfortunately, I don’t know exactly how this plugin works, but I think that you need duplicate the header template and translate using strings. https://polylang.pro/doc/strings-translation/

Thank you!

Post count: 2

any solution for this topic ?

Post count: 2

do you find any solution ?

Post count: 27744

Hi,

We recommend WPML plugin for translations: https://forum.tagdiv.com/using-theme-translations-together-wpml/
You need to translate the English (original language) the template for each language in part – https://i.imgur.com/CDmeHCf.png you should have them for each language cloud template – https://i.imgur.com/4agmUtg.png
A much simpler and faster alternative is to duplicate the cloud template you want to use in another language, edit it and select the desired language – https://i.imgur.com/z1CqgBo.png (edit the name) – https://i.imgur.com/dPX8ROs.pnghttps://i.imgur.com/Lc81IgP.png This method needs to be used to translate all cloud templates.
The pages are created with tagDiv Composer which is a page builder, when WPML is used it cannot translate everything that was built with the page builder and must be edited for each language separately. Please open the page in the editor and click on translate – https://i.imgur.com/TXH6y1c.png. After, if you duplicate the template, you can edit it to change the logo, menu, and whatever you want.
When you make the corrections, make sure you are on the page with the language you are editing, and if you use the cache, or object cache, please clear it.
Please check this topic https://forum.tagdiv.com/topic/missing-strings-on-wpml/

Have a great day!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.