Software

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.

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*Required Fields