This thread is resolved. Here is a description of the problem and solution.
Problem: You are encountering issues with the WPML plugin and the WPResidence theme, specifically with language display in the 'Lists by Category' column under the footer and a missing user type selection in registration forms. After clearing the cache, the language in the 'Lists by Category' column does not update across different languages. Additionally, the user type selection does not appear in the registration forms despite following suggested solutions. Solution: For the caching issue related to the 'Lists by Category' column, it appears to be a known issue with the WP Residence theme. We recommend checking the related known issue here: WP Residence Studio Templates Header/Footer Display in Wrong Language. For the registration form issue, our second-tier support has confirmed it as a bug. Please follow these steps: 1. Back up your website. 2. Open the
if (defined('ICL_LANGUAGE_CODE')) { $transient_key .= '_' . ICL_LANGUAGE_CODE; }
After making these changes, please recheck the functionality.
If this solution does not resolve your issues or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at 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 issues persist, please do not hesitate to 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.
Symptoms:
After clearing the cache, the 'Lists by Category' column under the footer remains in the language of the page where the cache was cleared, across all other languages. The registration forms in other languages do not display the user type selection, despite trying the suggested solution.
Questions:
How can I ensure the 'Lists by Category' column displays the correct language after clearing the cache?
What adjustments are needed in the Theme Editor to display the user type selection in registration forms for all languages?
Hello,
I’m in the process of obtaining a temporary license from WPEstate for the theme mentioned here, so I can import the demo content required for this to work.
I’ll report back once I have an update on the situation.
I’ve installed and activated the theme and translated the necessary strings for it to work: hidden link
The footer categories issue mentioned at the beginning is also visible here, so the issue has been successfully replicated.
The other issue (https://wpml.org/forums/topic/wpml-wpresidence-theme-registration-issues/?ref=wd
) seems to be working fine now on sandboxed theme - although I remember it used to work properly on my site as well, until it suddenly didn’t, possibly after an update or some change.
Here is a sandboxed link for you to try: hidden link
I’ve disabled all the related code in the functions.php file for now on immoteka.hr.
Please check it out, and thank you!
Cheers,
Ivan
New threads created by Kor and linked to this one are listed below:
Thanks for your patience. I can see the missing categories here hidden link after clearing WPResidence Cache as shown in the attached screenshot. I will check and come back to you.
Thanks for your reply. Sorry for overlooking your second question. I've checked our sandbox site here hidden link and I'm not seeing any issues with the Lists by Category. Could you elaborate a little bit more about the issue? Or perhaps you can highlight it using screenshots.
The issue with the “List Categories” section in the footer widget is that it displays the taxonomy names (names only — the links correctly point to the corresponding language taxonomies) in all languages based on the language of the page where the “Clean Theme Cache” action was triggered.
For example, if you are on the Croatian front page and you click “Clean Cache,” the taxonomy names in that footer section will appear in Croatian across all other languages (the links remain correct — only the displayed names are wrong).
If you clear the cache on the German front page (or any other language page), the taxonomy names will then appear in German across all languages in the footer (again, with correct links).
I’ve attached the screenshots.
All taxonomies are translated, of course.
Situation now: hidden link
This issue has also been successfully reproduced week ago on the sandbox site provided by WPML hidden link - English hidden link - German hidden link - Croatian
I’ve also attached the screenshots from sandbox site (without arrows and stuff).
Thanks for your reply. I'm getting different results here. When I clear WPresidence Cache, the category shows empty as shown in the attached screenshot. Please allow me to escalate this to our 2nd Tier Support for further investigation.
Yes, I’ve noticed that - it happens when you clear the cache on the front end, but if you clear it in the backend, the mentioned category issue appears again. Feel free to contact the 2nd tier support.
Great, this fix did the trick! I will contact the WPEstate team and send them this thread, asking them to include this line of code in their plugin in future updates. Thank you very much - excellent support as always! Cheers to you and the whole team! Bye!