Linking to an ID within an article
-
trying to interlink, but wordpress seems to complicate it.
after publishing the code below with the text tab (NOT the visual tab, the other one), wordpress returns in the source code of the article a twiked version of what i’ve published initialy.below is what i’ve published in the backend
<li><a href="#food">link to Food Stuff</a></li> <h2 id="food">Food Stuff</h2>
below is what i can see in the frontend, in the source file
<li><a href="#food">link to Food Stuff</a></li> <h2 id=\"food"\>Food Stuff</h2> ... notice here the slashes
this tweak that wordpress did automatically makes the links open a new window with the root page.
i would like the user experience to NOT open a new tab, but to jump to the text passage.
your help would be much appreciated
Later Edit:
after googling i’ve found the reason why this happens and the explanation is hereNow what i need is a solution around it …
- The topic ‘Linking to an ID within an article’ is closed to new replies.