Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is using a Revolution Slider template and has added the WPML language switcher shortcode, but it displays as text instead of functioning. Additionally, the language switcher cannot be clicked due to an HTML layer.
Solution:
1. Replace the shortcode with

[wpml_language_switcher]

and verify if the issue is resolved.
2. Increase the WordPress memory limit to at least 128MB. You can do this by adding the following code to your wp-config.php file:

/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');

Place it above the line /* That's all, stop editing! Happy blogging. */.
3. If the language switcher still cannot be clicked, contact the Slider Revolution support service to inquire about removing the obstructive HTML layer with ID SR7_12_1-41-16.

If these steps do not resolve your issue, or if the solution becomes outdated, we recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, visit our support forum at https://wpml.org/forums/forum/english-support/.

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.

This topic contains 3 replies, has 0 voices.

Last updated by Carlos Rojas 2 weeks, 4 days ago.

Assisted by: Carlos Rojas.

Author Posts
January 3, 2025 at 9:42 am #16560629

steveK-13

Background of the issue:
I bought a Revolution Slider template and am using the Menu module. I added the shortcode: {{wpml_language_switcher}}, but it doesn't work and just shows the shortcode.

Symptoms:
The WPML language switcher shortcode is displayed as text instead of functioning.

Questions:
Why does the WPML language switcher shortcode display as text?
How can I make the WPML language switcher work with the Revolution Slider template?
url: hidden link pw to view site: 12345

January 3, 2025 at 9:54 am #16560695

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

1.- I recommend trying this shortcode instead: [wpml_language_switcher] and double-check if the issue disappeared.

2.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Regards,
Carlos

January 3, 2025 at 11:34 am #16561128

steveK-13

1. Now I see menus and seems like working (then adding translation, I see that flag appears), but can´t click on it (nothing happens) How to make it work?

2. Increased WP memory limit, it is okay now

url: hidden link pw: 12345

wpml menu 4.jpg
wpml menu 3.jpg
January 3, 2025 at 11:55 am #16561268

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Thank you for your feedback.

It is not possible to click the translation links because there is a layer added above in the HTML. You must contact the Slider Revolution support service and ask them how to remove this layer with ID SR7_12_1-41-16 so the language switcher elements can be clicked.