There’s at least 4 different ways you can exclude all posts assigned to one or more categories from being included in your RSS feed.
- You can add some PHP code to your child themes functions file or
- You can install a plugin
Add this to your child themes functions.php file. Make sure you find your category i.d and replace the 007 category i.d number.
Add more category i.d’s separated by a comma.
Or you could use this snippet instead
Simple Exclude – This plugin enables you to exclude categories from your RSS feed and from displaying in other areas using conditional tags.
- Widget: Categories
- Widget: Tag Cloud
This plugin will also enable you to exclude single posts from your RSS feed.
Stealth Publish – This plugin excludes posts from displaying on the front page and RSS feed.
You could also change your feed url and exclude categories from the new feed url using PHP code as well as editing your feed in Feedburner.
Leave a Reply
You must be logged in to post a comment.