Home › Forums › WoodMart support forum › Plugin string translation with your theme FOR THE THIRD TIME
Plugin string translation with your theme FOR THE THIRD TIME
- This topic has 7 replies, 2 voices, and was last updated 1 week ago by
Artem Temos.
-
AuthorPosts
-
October 7, 2025 at 4:55 pm #689476
soporte_webParticipanthttps://xtemos.com/forums/topic/plugin-string-translation-with-your-theme-again/ re opening this topic, with another product.
If I disable the plugin WPML string translation, the product loads.
If I change to another theme, the product loads.I have tried disabling all plugins an re-enabling them, but didn’t worked.
October 8, 2025 at 12:58 pm #689622
Artem TemosKeymasterHi,
Could you please send us a link to your website where we can see this issue?
Kind Regards
October 8, 2025 at 1:10 pm #689628
soporte_webParticipant??
You have it in the private content
October 8, 2025 at 1:45 pm #689642
Artem TemosKeymasterWe don’t see the problem on the page you provided via the Private content field.
October 8, 2025 at 1:53 pm #689644
soporte_webParticipantI have attached again the product url
SCREENSHOT WITH YOUR THEME: https://prnt.sc/HUcalP1O-hos
SCREENSHOT WITHOUT YOUR THEME: https://prnt.sc/H_A2_aQ71MhH
https://xtemos.com/forums/topic/plugin-string-translation-with-your-theme-again/ re opening this topic, with another product.
If I disable the plugin WPML string translation, the product loads.
If I change to another theme, the product loads.I have tried disabling all plugins an re-enabling them, but didn’t worked.
October 8, 2025 at 4:36 pm #689712
Artem TemosKeymasterHello,
We have investigated this issue and identified the reason why your content is not displaying properly — it’s related to the WPML plugin.
While researching similar cases, we came across a thread on the official WPML forum that describes an identical problem:
https://wpml.org/es/forums/topic/wpml-activado-error-en-pagina-de-producto-con-algunas-variaciones-de-productos/In that thread, a user shared a solution that actually works and resolves the issue. However, it’s unclear why the WPML team has not yet implemented an official fix.
In this case, we recommend reaching out to WPML technical support and asking them to revisit the situation and include an official fix in a future plugin update.
In the meantime, to ensure your site remains stable, we can provide you with a temporary custom code snippet that will fix the issue until WPML releases an update.
add_action( 'wp', function() { $hook_name = 'elementor/frontend/the_content'; global $wp_filter; if ( isset( $wp_filter[ $hook_name ] ) ) { foreach ( $wp_filter[ $hook_name ]->callbacks as $priority => $callbacks ) { foreach ( $callbacks as $key => $callback ) { if ( is_array( $callback['function'] ) && is_object( $callback['function'][0] ) && method_exists( $callback['function'][0], 'duplicate_css_class_with_original_id' ) ) { $object = $callback['function'][0]; if ( get_class( $object ) === 'WPML_Elementor_Adjust_Global_Widget_ID' ) { remove_action( $hook_name, [ $object, 'duplicate_css_class_with_original_id' ], $priority ); } } } } } }, 1000 );
Kind Regards
October 8, 2025 at 4:40 pm #689714
soporte_webParticipantThanks
October 8, 2025 at 5:33 pm #689729
Artem TemosKeymasterYou are always welcome. Feel free to contact us if you have any further questions.
-
AuthorPosts
The topic ‘Plugin string translation with your theme FOR THE THIRD TIME’ is closed to new replies.
- You must be logged in to create new topics. Login / Register