Skip Navigation

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

Problem:
You are trying to display only flags in the language switcher on your site using WPML with the Revolution Slider, but text is still appearing alongside the flags despite setting 'Flag only' in the Language settings.
Solution:
We recommend adjusting the shortcode by adding parameters to ensure that only flags are displayed. You should modify your existing shortcode to include

link_current=0

,

native=0

, and set

display_names=0

. Alternatively, you can set the type to 'custom' and configure the settings under the 'Custom language switcher' section on the WPML -> Languages page. For detailed guidance on using shortcodes with WPML, please visit WPML Shortcodes documentation.

If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, 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.

This topic contains 1 reply, has 0 voices.

Last updated by Dražen 2 weeks, 1 day ago.

Assisted by: Dražen.

Author Posts
January 10, 2025 at 9:15 am #16580849

steveK-13

Background of the issue:
I am trying to display only the flags on my site hidden link using WPML. I am using the Revolution Slider premium template, and the flags are being displayed through the code: [wpml_language_switcher flags=1]. Under the Language settings, I have selected 'Flag only.'

Symptoms:
The text is still being displayed with the flags despite selecting 'Flag only' in the Language settings.

Questions:
How can I remove the text from the flags and display only the flags?

January 10, 2025 at 11:05 am #16581684

Dražen
Supporter

Languages: English (English )

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

Hello,

can you try to also add in shortcode: link_current, native, native and set them to 0.

Otherwise, you can set type as custom and go to WPML -> Languages page and use the settings in the Custom language switcher section.

- https://wpml.org/documentation/support/wpml-coding-api/shortcodes/

Let me know how it goes and if it helps.

Regards,
Drazen