How to stop Auto HTML anchors added to heading tags
-
Is it possible to prevent anchors being automatically added to the heading tags in WordPress 5.7.1?
It looks like some sort of JS is adding the HTML anchor when you edit a post.
This is duplicating anchors in my headings added by my table of contents plugin. All my headings appears as follows:
<h2 id="heading"><span id="Heading">Heading</span></h2>
I would like to eliminated the anchor that appears in the heading tag.
I am aware that my WordPress version is old. Just checking if there is a way I can resolve this without updating WordPress.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to stop Auto HTML anchors added to heading tags’ is closed to new replies.