Home›Support›English Support›[Resolved] Testimonials elements in Elementor show both languages on front page
[Resolved] Testimonials elements in Elementor show both languages on front page
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue where the Testimonials element in Elementor displayed both English and Portuguese languages on the front page instead of showing the correct language translations for each site version. Solution: We investigated the issue by confirming the WPML settings and testing the site in a minimal environment. We identified that the issue was with the 'Testimonial Card' Elementor element provided by the Grand Tour Theme Elements for Elementor plugin. We resolved the issue by modifying the code in the plugin. Specifically, we added
'suppress_filters' => false
to the query arguments in the file at wp-content/plugins/grandtour-elementor/templates/testimonial-card/index.php. We also recommended that the client contact the theme author to incorporate this modification for future updates and consider joining the WPML Go Global Program (https://wpml.org/documentation/theme-compatibility/go-global-program/).
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues (https://wpml.org/known-issues/), verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am trying to have my website in 2 languages - English and Portuguese. The issue can be seen on this page: hidden link.
Symptoms:
The Testimonials element in Elementor shows both languages on the front page instead of showing English translations on the English site and Portuguese translations on the Portuguese site.
Questions:
Why are both languages appearing in the Testimonials element on the front page?
How can I ensure that the correct language is displayed for each site version?
Thank you for contacting WPML Support. I can see the issue on your site. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.
Your next answer will be private, meaning only you and I can access it.
=== Please backup your database and website ===
✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.
I followed the steps below to investigate and resolve the issue:
1. I confirmed that the WPML settings for testimonial categories and post types are correctly configured.
2. I tested the site in a minimal environment by deactivating all plugins except WPML and theme-bundled plugins. However, the issue persisted.
3. I identified that the “Testimonial Card” Elementor element is provided by the Grand Tour Theme Elements for Elementor plugin, which appears to be a bundled plugin from the GrandTour theme.
4. Upon examining the code of the Grand Tour Theme Elements for Elementor plugin, I was able to resolve the issue by making the following change:
I recommend reaching out to the theme author to request that this code modification be incorporated into the plugin files, ensuring it works after future updates. You might also want to suggest that the theme author join WPML's Go Global Program: https://wpml.org/documentation/theme-compatibility/go-global-program/ This will help ensure full compatibility with WPML.
The issue now seems to be resolved. Could you please check and confirm?