Exclude WordPress Category From RSS Feeds

1 Flares Facebook 1 Pin It Share 0 Google+ 0 1 Flares ×

Recently one of our customer asked to customize the RSS feed where he wants to exclude some of the category post from their RSS feed so in this tip we will explore how Exclude WordPress Category From RSS Feeds.

These tips are helpful if you want to create different rss feeds for you website where you want your website users to subscribe for a specific category and allow them to exclude from other categories.

1. Add Category in feed URL : The most common way to exclude category from rss feed is add that category in feed url.
<a href=”<?php bloginfo(‘url’); ?>/feed?cat=3&cat=5″>Entries (RSS)</a>
2. Remove the Category from feed URL : The most common way to exclude category from rss feed is add that category in feed url.

<a href=”<?php bloginfo(‘url’); ?>/feed?cat=-3&cat=-12″>Entries (RSS)</a>

3. You can use feedburner to exclude specific category from wordpress rss feed.

 

I hope Exclude WordPress Category From RSS Feeds tip will be helpful for you.

1 Flares Facebook 1 Pin It Share 0 Google+ 0 1 Flares ×