Excluding tag Link from html tags in Post content

Your function replaces EVERY tag_name occurence in the content. Meaning, it will replace <h2>my-tag</h2> into <h2><a href=”https://wordpress.stackexchange.com/questions/307147/tag-link”>my-tag</a></h2>. I’m assuming you add the tag names to the content manually. Then i would add them with an identifier. For example add the tags to your content like this: This is my content, i can add tags that … Read more