Anchor link issue (WordPress adds website address before #)
-
Hello,
My problem is in the title … although my anchor link is coded correctly in my page (html view) like this :
<a href="#anchor-link">link to my anchor in the same page bellow</a>
The code interpreted by wordpress afterwards in FF, IE and so on is of this kind :
<a href="https://www.mywebsite-address.com/#anchor-link">link to my anchor in the same page bellow</a>
Having something in front of #anchor-link prevents a jquery code to grab the name of the anchor that makes a smooth scrolling down to the id … instead of it I get back to the the top of the page.
Is there a way to add a filter or do something with wordpress so that it doesn’t edit the structure of my anchor links, or I have to change my jquery code (and yes I desactivated the plugins in case of conflicts) …
BTW it’s working fine on my local site with easyPhp, no website address added, and it’s a copy of the live one !Please help me, it’s getting really bizaaaaaaar !
- The topic ‘Anchor link issue (WordPress adds website address before #)’ is closed to new replies.