Removing rel=next / rel=prev on next / previous links
Hi I’m trying to remove the rel=prev and rel=next on the next post and previous post links. I have googled and found ways to remove it from the header but that is not what I want to do.
From the single.php template the portion of code that is next_post_link which calls adjacent_post_link
It seems that rel= next and rel=previous is hard coded into that function.
Is there a way to remove it without actually editing the code in link-template.php?
I’m not even sure that is exactly the code I want now that I take a second look.
Here is the website:
Under the photos there is a link to the next and previous article. Within those links there is a rel= and we want to remove that.
- The topic ‘Removing rel=next / rel=prev on next / previous links’ is closed to new replies.