This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to translate elements of the Kadence theme on their WordPress site using WPML, but some elements are not showing up on translated pages because they are set to 'Not translate'. Solution: 1. Verify that Kadence Elements are set to 'Translatable - only show translated items' at WPML > Settings > Post Type Translation, and ensure all custom posts (elements) are translated. 2. Navigate to WPML > Settings > Custom Field Translation, click 'Show system fields', and set the custom fields related to Kadence settings to 'Copy'. 3. For the display conditions that are not translating correctly, set the custom field
_kad_element_show_conditionals
to 'Copy once'. This allows manual setting of display conditions in the second language using the Element Settings in the Sidebar without overwriting the setting when translating the Element again. 4. Go to Appearance > Kadence > Elements and use the WPML Translation Editor to translate the elements.
If this solution does not resolve your issue or seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening 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 translate elements of the Kadence theme on my WordPress site using WPML. The site I need help with is hidden link.
Symptoms:
Kadence elements are set to not translate. Some elements show on translated pages, and some do not show up.
Questions:
How can I ensure all Kadence theme elements are translated and displayed on translated pages?
Could you please increase the WordPress memory limit (WP Memory Limit) to at least 256 MB? WPML requires at least 128M.
Your current values are:
PHP MemoryLimit 512M
WP Memory Limit 40M
You need to connect to your website's server and open the wp-config.php file in a text editor. The file is located in the WordPress root directory.
Add this code to the wp-config.php file to increase WordPress memory:
define ('WP_MEMORY_LIMIT', '256M');
Add this just before this comment:
// That's all, stop editing! Happy blogging.
The current values can be viewed under WPML > Support > WordPress.
These settings can be restricted directly by your hosting provider. Therefore, I recommend contacting them and asking them to change them directly if the changes are not applied immediately.
---
Further, could it be that this issue occured after updating to WordPress 6.7?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
You said "Kadence Elements" are set to "Not translate".
If this is a post type registered at WPML > Settings > Post Type Translation, then it needs to be set to "Translatable only show translated items" and you need to translate all the custom posts (elements).
Correct, Kadence Elements" are set to "Not translate". And some show on the translated pages while some do not show on the translated pages. If i set the : WPML > Settings > Post Type Translation set to "Translatable only show translated items",,,,, i translate the elements but they still DO NO SHOW UP on the translated pages
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hi,
I would like to request temporary access (wp-admin and FTP) to the site to investigate the issue further.
The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.
IMPORTANT
Please be sure to back up the site and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.
I may need to install a plugin called "All In One WP Migration" here to create a copy of the site that I can use to investigate the issue further.
However, I would also be very grateful if you could provide a staging site or copy of the website from your server for this purpose.
If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/de/account/websites/.
If you are not able to provide such a copy of the website for testing, please let me know on this ticket.
The private reply form looks like this: hidden link
The next time you reply, click on "I still need assistance".
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Thank you!
Are you placing those elements on the original content using the Shortcodes?
If so, then you will need to manually replace the shortcodes on second language, as each Element has a proper shortcode with a unique ID.
Now, it could happen that if you later on translate the content with the WPML Translation Editor, those manual adjustments are overwritten.
In this case we would need to try to find a different solution. We have a snippet for such cases that can be used in a Child Theme. This would allow you to translate the IDs for each shortcode.
Please give this a quick test. I can also offer to provide you right away with a WPML Test Site on which you can install the theme and its plugin, so that we can recreate and escalate the issue.
Shortcode is only used on home banner and home mobile banner. Book appointment and special offers elements are plain image from media, and still they do not work.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
I saw that the "Display on" and "Visible on" settings for the translated Elements were not set.
Trying to solve the issue:
I went to WPML > Settings > Custom Field Translation, clicked "Show systems fields" and made sure that the custom fields related to Kadence settings are set to "Copy".
Then I applied again the translations for the Kadence Elements and the settings were copied.
The remaining issue:
The display conditions for specific pages keeps pointing to the ID of the original page and this seems to be causing an issue.
I tried to set the display condition manually on the translated element for the Booking Page but it did not solve the issue.
Further steps:
I will try to recreate those issues on a new test site and then get back to you.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Pleae take kindly note, that I am still testing. I am currently having the issue, that the translation does not work direclty on a sandbox. I stil have to make manual adjustment, and then it actually works. One the other hand, on another local test site it actually works without issues right away.
I will need some more time investigating this.
WORKAROUND:
Please go to WPML > Settings > Custom Field Translation and click "Show system fields".
Set the following field to "Copy once":
_kad_element_show_conditionals
This should allow you to set the display condition manually in second language using the Element Settings in the Sidebar without overwriting the setting when translating the Element again with the WPML Translation Editor.
The settings you refer to: Please go to WPML > Settings > Custom Field Translation and click "Show system fields".
Set the following field to "Copy once":
1
_kad_element_show_conditionals
Were configured in the way you described already today that ti checked.
Still some elements show on the translated pages and some do not show. Examples of pages not showing the elements in the translated pages: hidden link, hidden link, hidden link
Today I created one new element and translated it and shows up fine on all languages hidden link