Free Wordpress Blog Setup

How to Make Separate RSS Feed for Each Category in WordPress

By Editorial Staff in Tutorials
How to Make Separate RSS Feed for Each Category in WordPress

Often times bloggers wonder how to make separate RSS feed for their category. Because sometimes your user only visits your website for the design category, but you have ten other categories that the user is not interested in. How can you offer them a separate RSS Feed. In this tutorial, we will show you how you can do that.

Technically you don’t have to do anything.

Lets say you like WPBeginner’s Showcase Category and want to subscribe to it. The category URL is:

http://www.wpbeginner.com/category/showcase/

You simply need to add the word feed infront of it like this

http://www.wpbeginner.com/category/showcase/feed/

So if you let your users know that, then you can give them an opportunity to subscribe to it. You can specifically ask your designers to add this in the theme when users open category pages, they can subscribe to the category itself.

Now there is another code that will help you letting your users subscribe to separate RSS by letting them know they can. You can’t manually email your readers and ask them to do this. Instead what you can do is use this code:

<?php wp_list_categories('feed_image=http://www.wpbeginner.com/image.gif&feed=XML Feed&optioncount=1&children=0'); ?>

Now you must change the url to the feedimage because it will display an RSS Icon next to your category list. You can paste this code in your sidebar where you have the category code.

Now you can have separate RSS feed for each category in WordPress.

What Next?

Digg it
Save This Page
Subscribe to WPBeginner
Stumble it
Free Wordpress Blog Setup

Comments

3 Responses to “How to Make Separate RSS Feed for Each Category in WordPress”
  1. DaveK says:

    Thats very handy to know, will be useful on an upcoming project I have. Thanks.

  2. Yui says:

    Hello. I was really interested by this but I was wondering where this went? On my blog I have the categories section in the sidebar, on my friends blog which I set up the categories menu is a dropdown at the top and putting a categories in the sidebar looks un-neat. I was wondering if there was a way to display a link saying ‘Subscribe to RSS’ leading to something like http://rmagic.yui-dev.co.cc/uncategorized/feed/ which would then lead to feedburner. Is it possible? Thank you for all your great tutorials, I have used many of them on my blogs and they are running perfectly well!

Share Your Opinions

Tell us what you're thinking...
and if you want a pic to show with your comment, then get gravatar!

Please make sure that you have read our Comment Policy.

Due to high volume of request from our readers, we are adding this feature that allows you to stay updated with this post's comments without having to participate in the discussion even though we would love your input as always. Don't worry we hate SPAM just as much as you do, so you will never receive any SPAM messages from our site and that's our promise to you.

Subscribe without commenting

Close Bar