close
excatrss-1

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 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.

categoryexcluder

The settings page will display all your categories on your 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 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.

Screenshot (5)

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:

Screenshot (3)

Replace -15 with the ID of category that you want to exclude from RSS feed.

Tags : wordpressWordPress how to
Nooruddin Ahmed

The author Nooruddin Ahmed

An avid football fan. Lives for the weekend game.Aviation enthusiast. Believes in letting bygones be bygones.

Leave a Response