This is the OLD WebbyZone archive. Click Here if you wish to check out the all NEW WebbyZone.

How To Create RSS Feeds For Each WordPress Category

Post image of How To Create RSS Feeds For Each WordPress Category
Filed in Web Development 3 comments

Do you have a WordPress blog that covers various categories of various interests? What happens when visitors subscribe to your blog? They will get updates on all the content whether it interests them or not. So why not create feeds for each of your categories? This way you can offer your loyal visitors to access feeds of the contents which interests them only. That would be a value added targeting of your content. So how do you do that?

Let’s take our example. We have a category for ‘resources’ and would like to provide feeds for all the posts coming under the particular category. The url of the resources category is

http://www.webbyzone.com/category/resources/

To get the RSS feed for this category, all we need to do is add the word ‘feed’ at the end of the url, like

http://www.webbyzone.com/category/resources/feed

Here’s the code to create the category RSS feed -

<a href="<?php echo get_the_category().'/feed'; ?>"><?php echo get_the_category().' rss feed'; ?></a>
Posted by Ranadeep   @   26 September 2009 3 comments
Tags : , , ,

3 Comments

Comments
Oct 1, 2009
11:45 am
#1 JimmyBean :

I don’t know If I said it already but …This blog rocks! I gotta say, that I read a lot of blogs on a daily basis and for the most part, people lack substance but, I just wanted to make a quick comment to say I’m glad I found your blog. Thanks, :)

A definite great read..Jim Bean

Oct 16, 2009
9:12 pm
#2 Online Stock Trading :

Hey, I found your blog while searching on Google. I have a blog on online stock trading, I’ll bookmark your site.

Trackbacks to this post.
Leave a Comment

Name

Email

Website

Previous Post
«
Next Post
»
CrossBlock designed by ZenVerse