• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2787

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

4 Ways To Exclude Categories From Your WordPress RSS Feed

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

PHP Code

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

Plugins

Simple Exclude – This plugin enables you to exclude categories from your RSS feed and from displaying in other areas using conditional tags.

Exclude from:

  • Archives
  • Feeds
  • Front/Home
  • Searches
  • 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.

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags