Jul
8
8
Wordpress can expose every category or tag as a RSS feed. For example, you can announce the feed for a category by adding this into your theme file at the part where the HTML-Head is generated:
<?php
if (is_category())
{
?>
<link rel="alternate" type="application/rss+xml"
title="RSS 2.0 for category"
href="<?php print $_SERVER['REQUEST_URI'] . '/feed' ?>" />
<?php
};
?>
You can check out more conditional tags from the Wordpress API
Related:
Displaying affilinet earnings in an RSS feed
Displaying stats about page generation time in Wordpress
Are you interested in reading more from CodingClues?
Then subscribe to new postings
via RSS or
via
E-Mail.
Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)