List WordPress category feeds

November 25, 2008 · Print This Article

Let’s see how we can list all category feeds by using the good old wp_list_categories() fiunction.

Simply paste the following code anywhere on your theme. It will output a list of your categories with a link to the category rss feed.

The two parameters used here are:

feed_image: The url of the image to display as a link to your feed.
feed: The feed format.

<?php wp_list_categories('feed_image=www.livexp.net/rss.gif&feed=XML Feed&optioncount=1&children=0'); ?>


Your choice for site templates and wordpress themes

Comments

Got something to say?

You must be logged in to post a comment.