One of the best aspects of WordPress is that it gives you remarkable control over your feeds, allowing you to pick and choose what you would like to display and in what way. Granted, that applies to WordPress in general, but it is infinitely useful for the feeds your system creates.
For instance, if I want to merely show one category in a feed, I would link to feed for that single category. A feed that would only show the reviews of the site is very simple to achive. You go the page main category page (in this example the category is ‘reviews’) and then you add a forward slash (/) and the word ‘feed’. Like this:
However, if you wanted to exclude that category, then you would need to know the number of the category. That is simple enough to find. You would go to your ‘manage’ tab, then click on ‘categories’. Scan down your category list, and you’ll find the number of the category in the associated ‘ID’ column. So now, for the above example, my ‘reviews’ category has an ‘ID’ of 18.
Now each WordPress blog has a feed URL that will display ALL posts from the blog regardless of category. It looks like this:
To exclude all posts in the ‘reviews’ category, you would instead using the following adjustment to your normal feed link:
And now you have a link to a feed that shows all my categories EXCEPT for those in the ‘reviews’ section.
Ah, but what if you want to exclude more than one category? What’s the syntax?
You simply add each one to exclude like this:
This Section Updated
WP Versions Before 2.3.1:
For Version 2.3.1+:
The above would exclude both my ‘reviews’ and ‘templates’ categories. I actually use this when I embed my blog feed in another website that is purely tech (nothing personal included), and I exclude things I’ve categorized as non-tech related so they don’t show up.
Hope this was helpful to someone out there.