This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing issues with anchor links not working on translated pages of their website. Specifically, the buttons 'What we do' and 'References' do not scroll to the intended sections on the non-default language pages.
Solution:
We recommend checking the source code of the translated pages to ensure that the anchor IDs have been correctly translated. For instance, on the English page, the anchor originally identified as
#zamereni
might have been translated to
#focus
. If the button's URL still points to the original anchor (e.g.,
#zamereni
), it needs to be updated to match the translated anchor ID (e.g.,
#focus
).
To do this, open the WPML Advanced Translation Editor and use the search function at the top to locate the URL. Once found, update the URL to reflect the translated anchor ID.
If this solution does not resolve the issue or 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. If problems 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.