Home›Support›English Support›[Resolved] Salient theme - Nectar slider: Internal links not pointing to translated content
[Resolved] Salient theme - Nectar slider: Internal links not pointing to translated content
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue where the URLs in the Nectar Slider were not being translated correctly and were always pointing back to the English version.
Solution: We provided a workaround to address the issue with the Nectar Slider post type. Before proceeding, we emphasized the importance of backing up the database and website.
3. Apply the same workaround for button 2 URL around line 845 with similar custom code. 4. After creating and translating a Nectar Slider post, edit a page, add the Nectar Slider element, select the slider location, save, and translate the page. The internal URL will then be adjusted in the frontend.
Please note that this solution might be outdated or not applicable to your case. If it doesn't resolve your issue, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket.
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.
Thank you for doing some of the initial legwork to get a sandbox started.
I also tried reproducing the nectar slider with a button pointing to the same post as a test and see the following (see attached) where the URL was automatically copied and is not being flagged as I think it should (dynamically in the background, hidden from view unless searched in the translation editor).
I think the common thread here is the way these URL's are input so I am also confirming with themenectar support that these are setup to be handled correctly. Can you please confirm that you are seeing the same behavious as I am, where the XML is in place as it should be, yet the URL still points back to English version only?
The fact that the XML code is needed makes me wonder if there is something specific that the theme author is not doing properly with how their links are handled.
I'll keep an eye for any responses here. Thanks again
after you create a Nectar Slider post and translate it, you can edit a page > Add the element Nectar Slider > Select the slider location > Save and translate the page. Then the internal URL will be adjusted in the frontend.
You can apply the same workaround with the button 2 URL around line 845
First thing, please make a full backup of your site and apply the workaround to see if it works, then let us know. Our compatibility team is in contact with the theme author so we will inform them about the issue and workaround.
You can also help us increase the priority of the issue by sharing this ticket with the theme author.
Thank you Long, I have a ticket with them (hidden link) and will share this as well. I'm hoping this gets to the root cause of my issue and really appreciate the time and attention to get back up and running!
(I still haven't been able to implement change in our theme files... I'll be in next week)
Hello Long, I wanted to follow up to let you know that I finally got to implementing this change in the theme slider plugin file and the URL's are now working in the slider!
I think this helps narrow down the other issues to suggesting it is on the part of the theme rather than solely on WPML.
Thank you for the support. I still have a couple of other ongoing tickets and the nectar elements used elsewhere need to be addressed but wanted to first of all, confirm that this worked (I expect to see the theme author push this out officially in an update...) and thank you again for getting this looked at.