When using w3.org’s validation tool Unicorn I get the following error/warning:
URI: http://energyshop.se/hem/feed/
This feed does not validate.
After looking into my source its there crystal clear in the <head>:
<link rel="alternate" type="application/rss+xml" title="energyshop.se » Hem kommentarsflöde" href="http://energyshop.se/hem/feed/" />
Now, how do I remove this feed since I dont use it?
Thanks in advance!
If we look at the file
we can find these two lines in there
so if we want to remove these actions, we can do it with these two lines in
functions.php
:So the feed links will be removed from the
<head>
tag.ps: In this file you will also find:
If you want to disable the feeds, you can remove these hooks in a similar way with:
but then you will get this message when you visit the feed links
You might consider making url rewrites for the feed links or make a custom feed template, to get rid of this message.
The third params are also required, without them it didn’t work for me