How to include stable RSS-feeds in the template of your WordPress blog

To include the new feed links discussed here and here, I have changed the file called “footer.php” in the directory of my current theme:

Change this:
bloginfo(‘rss2_url’)
to
bloginfo(‘url’); ?>/index.php?feed=rss2

and

bloginfo(‘comments_rss2_url’)
to
bloginfo(‘url’); ?>/index.php?feed=rss2&withcomments=1

In addition to this you have to change the file called “single.php”. In line 29.

You can find an edited version of “footer.php” here.
You can find an edited version of “single.php” here.

How to include stable RSS-feeds in the template of your WordPress blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s