Home › Forums › WoodMart support forum › WPML with Quick View not Working / Custom Category Header with WPML
WPML with Quick View not Working / Custom Category Header with WPML
- This topic has 5 replies, 3 voices, and was last updated 3 years, 11 months ago by Elise Noromit.
-
AuthorPosts
-
November 24, 2020 at 11:29 am #244203
IMeediaParticipantEnglish is not my Default language but this shouldn’t be a problem. Quick view is doing some tricks :/ You can see it here: https://eastpole.ee/demosite/eastpole/en/product-category/clothes/
Add to Cart, Product page, etc is all good. But not sure why “Quick view” opens in Estonian and also all the links there (View details – takes to Estonian Product, Lisa korvi – adds into Estonian Cart) do EST actions but content is actually right.—
Is it possible to set different Headers (created with Header builder) / Footers to Product Categories / Tags / Post Categories in different languages? Wouldn’t like to translate them with WPML but to have all Headers and Footers created in different languages. It would be easier to change them later. Couldn’t find a way except coding in files but maybe there’s a better way.
November 24, 2020 at 12:13 pm #244221
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Sorry, but there is no option in our Theme to set different headers and footer for special categories and tags pages.Thank you in advance
November 24, 2020 at 3:03 pm #244302
IMeediaParticipantI added my admin below. But why I asked is there some whortcodes with Headers is because I’d use something like:
<?php
if (ICL_LANGUAGE_CODE == “en”) {
//show the form in French
} elseif (ICL_LANGUAGE_CODE == “de) {
//show the form in German
} else {
//show the default form in Estonian
}
?>
.. not wure what’s used right now but something like that should work. I just need a shortcodes I could use adding in Header file.Thanks ahead,
MattiasNovember 24, 2020 at 3:47 pm #244320
Artem TemosKeymasterTry to enable the following option in WPML -> Languages https://gyazo.com/454c2934dd4e049eb6e57e45425edb69
November 24, 2020 at 5:28 pm #244355
IMeediaParticipantOk, cool. That worked, thanks. Now just this Shortcode for Header Template (that I could add different headers based on language customer is in with WPML).
Thanks again,
MattiasNovember 25, 2020 at 8:23 am #244533
Elise NoromitMemberHello,
In order to translate the header, you need to create a cloned header with the translated content and then assign them to each other in the String Translation.
Please find the detailed instruction on how to do that: https://xtemos.com/docs/woodmart/faq-guides/translate-header-wpml/
Best Regards
-
AuthorPosts
Tagged: Custom footer, custom header, quick view, Wpml
- You must be logged in to create new topics. Login / Register