Skip Navigation

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

Problem:
You are showcasing an SVG logo in your Elementor header and have a URL linked to the homepage (/). You want to change the URL on the Spanish version to the Spanish homepage (/es/), but can't find any documentation to help with changing the URL for the Spanish version.
Solution:
We recommend following these steps:
1. Edit the default language Elementor header template.
2. Choose the Icon widget, click on the Dynamic tags button, and select the "Site URL".
3. Press the Publish button to update the changes.
Please check if the logo now correctly links to the Spanish homepage.

If this solution does not apply because it might be outdated or not suitable for 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 open a new support ticket at WPML support forum for further assistance.

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.

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by Noman 1 month, 1 week ago.

Assisted by: Noman.

Author Posts
May 6, 2025 at 2:20 pm #17002235

richardB-12

Background of the issue:
I am showcasing an SVG logo in my Elementor header and have a URL linked to the homepage (/). I want to change the URL on the Spanish version to the Spanish homepage (/es/).

Symptoms:
Can't find any documentation to help with changing the URL for the Spanish version.

Questions:
How do I change the URL of an SVG icon in Elementor to point to the Spanish homepage using WPML?

May 6, 2025 at 2:45 pm #17002409

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

Thank you

May 7, 2025 at 4:37 am #17004158

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for providing the login details. I followed the below steps:

1. Edited the default language Elementor header template:
hidden link

2. Choose the Icon widget, click on the Dynamic tags button, and select the “Site URL” as you can see in the attached screenshot.

3. Pressed the Publish button and now it loads the correct logo link at frontend.

Could you please check and confirm?

Thank you for your cooperation

Site URL option.jpg
Site URL 1.jpg
May 7, 2025 at 8:05 am #17004839
richardB-12

Hi, perfect this works.
Can you also explain how to translate the reservation button in header?

New threads created by Noman and linked to this one are listed below:

https://wpml.org/forums/topic/how-to-translate-the-reservation-button-in-header/

May 7, 2025 at 2:37 pm #17007193

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Glad to hear the issue is solved.

For the “reservation button translation” problem, it’s a different issue and will be handled separately as per our support policy. I've created a new ticket for this at: https://wpml.org/forums/topic/how-to-translate-the-reservation-button-in-header/

If the SVG icon link translation issue is solved, please mark this ticket as resolved and we will continue working on the above ticket for it.

Thank you for your cooperation