In this tutorial I explain how to customize the feed links that WordPress automatically generates in the header-section (
<head>) to help the visitor on the one hand and to make the links more eye-catching and on the other hand to increase the click-through rate. This is especially interesting if you also offer podcast feeds.
[The result: individualized feed links in WordPress]
What is this about?
In a standard installation WordPress generates up to three links in the
<head>, i.e. in the source code of the header line, using the link element. These refer to the three feeds:
- main RSS feed
- comment feed
- RSS feed of the corresponding archive: category, keyword etc.
This is what it looks like on the start page of a standard installation with Firefox:
The first two links – which can also be seen in the screenshot – also appear on the start page, the RSS feeds of the archives only appear on the appropriate subpage. You will find the entries in the source code if you search for the following sections:
<link rel="alternate" type="application/rss+xml"