I’m starting to implement translations to a 2nd language on a site and there are some instances where I am using section ID’s as anchor links. For example, on THIS page I have a ‘Contact Us’ button that just links to the last section on the same page using /#contact as the link. This works great for the default language, but since WPML is adding ‘?lang=es’ to the end of each URL it ruins how the anchor link works… How do I get these anchor links to work along with the way that the slugs are modified by WPML?
Thanks