Keep source page URL parameters on custom link menu item

Question

I am using the WPML language plugin with the current language setting attached as a URL parameter.

I have some menu items that point to specific sections on a page using a custom link with an anchor. When clicking this link, the language parameter of the source page is not preserved.

Is there any way to change this behavior, ideally without hard-coding page slugs or menu item IDs into a filter?

Thanks

0
DoYouAdmit 2 months 2022-06-05T12:26:42-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse