In your functions.php add:
function excludeFeedCats($query) {
if ($query->is_feed) {
$query->set('cat','-3, -12');
}
return $query;
}
add_filter('pre_get_posts','excludeFeedCats');
Or use Simply Exclude for more flexibility.
Related Posts:
- Get all posts in RSS
- How to get SimplePie fetch_feed without stripping iframe code?
- Remove or Edit in Feeds
- Cannot get add_feed to work
- How to create additional full text RSS feeds
- RSS Subscriber count without using FeedBurner
- Custom RSS feed forces download
- Style RSS Feed for a human?
- How to get the last updated date of a post from a WP RSS feed?
- How to remove published date from RSS feed
- Disable only the main feed?
- display featured image in RSS feed
- WordPress RSS File Template
- RSS feed site image custom resolution
- Remove a certain post type from appearing in all RSS feeds
- How can I get RSS feed for a custom page?
- How to add featured image or custom field to xml feed?
- How can I remove image from feed?
- RSS Feed Behaviour (Inc. Feedburner)
- How can I minimize the content of my RSS feed to fit more items in Feedburner’s 512k limit?
- Site Rss not seen by browser
- Two RSS feeds, different items limit?
- Help Me Choose RSS or XML-RPC
- How to remove the comments feed from WP 3.1.1?
- RSS Widget on theme
- Dynamically import posts from one wordpress site to another
- how improve website mainpage loading
- Add ![CDATA] to permalink rss
- how to display image from rss
- Creating an individual RSS feed for each site user
- restricted rss feed
- How to set the cache for the built-in SimplePie feed parser?
- How to modify the image size in RSS (mailchimp compatibility)?
- Showing Post ID on RSS
- How to use force_feed with fetch_feed
- fetch_feed works on localhost but not on server
- WordPress appends RSS item with unwanted content
- Feed only showing 1 result? [closed]
- How to make this plugin more efficient
- How to Fetch Rss Feeds From Other Websites
- RSS Feed Empty in Firefox
- Display RSS feed using pagination
- How to output unlimited RSS Feed items
- How do I create an rssfeed from the contents on this page?
- fetch_feed returning rss feeds on same server as empty
- Email notification of new posts that match query
- Remove ‘More..’ link from RSS feed
- Excerpt formatting for Google News Feed [closed]
- Feed error: A feed could not be found at youtube.com/… (1 post) [closed]
- WordPress cache feeds
- How do I use fetch_feed() to pull in a large number of posts?
- Help with Magpierss and WordPress
- How can I control what / how much text is in my RSS feeds?
- CDATA error for RSS feed
- Create an RSS feed of all posts
- Disable Sharedaddy in Feeds
- I’m not able to get RSS feed working. I get ‘XML parsing failed’
- Reply via email (mailto link) in RSS feed at the end of each post
- I want to remove “continue reading…” in rss feed
- How do I edit my default RSS Feed?
- How do I use 2 modified feed templates?
- Add a Subscribe to Blog link next to comments
- RSS feed widget for specific categories with latest posts?
- WordPress keeps truncating my feeds and I can’t stop it
- Allow WordPress users to ‘follow’ RSS feeds from blog authors
- Showing RSS feed via fetch_feed. How to show the site title of the feed?
- Style wordpress image captions in RSS
- How to add RSS Icon/link as a widget?
- RSS feed error stopping parsing of page template
- Use Feedburner instead of default feed on WordPress.com?
- WP Default Feed Url Change
- Best way to setup RSS feed for a custom WP blog plugin
- Custom RSS Feed Overwrites Permalink
- Code to mimic the RSS widget
- Change pubDate in rss feed in another format
- How to remove private posts from RSS feeds?
- Preventing RSS feeds access to the authenticated uses only
- Fetch feed from multiple sources
- Custom RSS formatting
- Help with WordPress RSS Validation Error
- Prevent incoming $_GET requests
- How to get RSS feed for custom field in post
- Adding a second RSS feed
- Importing large number of RSS feeds
- How to import and parse RSS feed from a WP site to a non-WP if ‘allow_url_include’ is set to ‘off’?
- JW Player – How to genrate RSS of video playlist in wordpress
- RSS Feed setting limit for email subscriptions
- Show posts without content in RSS 2 FEED
- are there any downsides to increasing the number of most recent items in a feed
- Full sized images in RSS Feed
- RSS feed not displaying excerpt text?
- Create a “feed” from one WordPress site to another?
- RSS Feed Custom Title? (code placing) [duplicate]
- Looking for a plugin which could publish my site rss to facebook timeline automaticlly
- RSS Feed broken
- images are broken
- Editing wp-includes/feed.php
- How do I get an RSS feed to work
- How can I stop my WordPress database collecting transients such as RSS feeds in wp_options table?
- How to get recent posts from wordpress RSS feed