Product layout issue with Polylang
-
Hello. I am using Polylang for multilingualism and Woodmart Layout for products. I have a strange layout error. For example, I have a product layout for the Ukrainian version and a translated layout for the rus version. When I save changes in Ukrainian template, the other crashes, and vice versa. The same thing happens on the main page with the category block, although the carousel settings are set to custom typography, it still follows the theme settings.
І Use WPBakery builder.
Attachments:
You must be
logged in to view attached files.
In Polylang settings active custom translations/ Product layouts linking translations.
Attachments:
You must be
logged in to view attached files.
Hello,
It seems that you have sorted it out – https://prnt.sc/YBAVT5CI3FlN , https://prnt.sc/aQzH0FqxEVOc
Let me know if I missed something.
Kind Regards
No, Problem with layout product card 2025 UA and translated product card 2025 ru
I have 2 layouts, and planing more: product card 2025 UA – its for all products, https://prnt.sc/YBAVT5CI3FlN – this only for product with brand ADA
Hello,
Okay, I see. May I disable 3rd party plugins for testing?
Looking forward to collaborating with you!
Kind Regards
Hello,
We have added the following code to the child theme:
function exclude_custom_css_meta_from_copying( $metas ) {
$excluded_meta = 'woodmart_shortcodes_custom_css';
$key = array_search( $excluded_meta, $metas );
if ( false !== $key ) {
unset( $metas[ $key ] );
}
return $metas;
}
add_filter( 'pll_copy_post_metas', 'exclude_custom_css_meta_from_copying' );
And now it seems to work well, you can recheck the issue and let me know.
Kidn Regards
Hello,
You are welcome! Always remember that you can reach out to us with any questions you may have.
Have a good day!
Kind Regards
The topic ‘Product layout issue with Polylang’ is closed to new replies.