Skip Navigation

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

Problem: How can I edit the WPML language selector?

Solution: You will need to create a new language selector and configure it as you wish. You can see step by step in our documentation, at the link below.

Relevant Documentation: https://wpml.org/documentation/getting-started-guide/language-setup/designing-custom-language-switchers-using-template-files/

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 2 replies, has 2 voices.

Last updated by Gustaw 4 years, 4 months ago.

Assigned support staff: Bruno.

Author Posts
August 29, 2017 at 8:56 pm #1353804

Gustaw

How to remove the "title" element from the WPML language switcher added in the "header.php" file with the function "do_action ('wpml_add_language_selector')"?
Explanation on the screenshot

wpml_switcher.jpg
August 29, 2017 at 10:01 pm #1353821

Bruno

Hi,

Thank you for contacting us.

For you to remove this attribute of the language selector, you will need to create your own language selector.

You can see step-by-step in our documentation on how to do this: https://wpml.org/documentation/getting-started-guide/language-setup/designing-custom-language-switchers-using-template-files/

Please, let me know if I can help with any other questions you may have. I'll be happy to help.

Thank you.

September 3, 2017 at 5:34 pm #1356790

Gustaw

Thank you. This solves my problem.