‘Wordpress’ is renowned for allowing a generous selection of various feeds, whether it be ‘RSS’ or ‘ATOM’ or others, but it only comes with one basic feed option has default. Wouldn’t it be nice to be able to have a separate feed for separate categories?

At the start of this brief article I stated that ‘Wordpress’, “only comes with one basic feed option as default”, this is only half of the reality.

WordPress is actually equipped to separate various categories into associated feeds, but such a function is disabled with the default install.

In order to access the feeds for categories, place the following one line of code anywhere on your site, the ’sidebar’ would be most fantastic:

<?php wp_list_cats(’sort_column=name&optioncount=1&feed=RSS’); ?>

After adding the above code, a list of categories will be rendered with dedicated RSS links, so that you can reference them elsewhere if you so wished.

2 Comments Add Your Own Comment

(April 10th, 2009 at 8:38 am )


Well…great idea, but It doesn’t seem to work on my sidebar…

(February 27th, 2012 at 5:00 pm )


Really great idea. I would like to use it.

Add Your Own Comment Fields marked * are required.