Many users prefer the exclusion of specific categories which they don’t want to appear in the RSS feed of their site. This article will explain how to do just that as many site owners use some categories for content that they don’t want to appear in the RSS feed of their site.
Method 1: Exclude Specific Categories from WordPress RSS Feed Using Plugin
First thing to do is download and install Ultimate Category Excluder plugin. Upon activation you need to visit Settings » Category Exclusion to configure plugin settings.
The settings page will display all your categories on your WordPress blog with option to hide them from the front page, RSS feeds, archive pages, and search results.
Simply select the exclude from feed box next to the categories that you want to exclude from your RSS feed.
Save your settings by clicking the Update button.
Now the posts filed under your selected categories will disappear from your WordPress RSS feed.
Method 2: Manually Exclude Specific Categories from WordPress RSS Feed
This method requires you to paste the code in your WordPress files. use this method if you are comfortable with pasting code snippets from web into WordPress.
You need to add this code to your theme’s functions.php file or a site-specific plugin.
This code simply excludes categories that match the given IDs. Simply replace the category IDs in the code with the IDs of categories that you want to exclude.
If you just want to exclude a single category, then change the code like this:
Replace -15 with the ID of category that you want to exclude from RSS feed.