I’d like to make it so that posts in one of my categories does not go out with the feed. The Category Visibility plugin used to do this, but it isn’t compatible with WP2.0.1. Does anyone know a simple way to accomplish this?
What I’m currently trying is throwing the line $posts = get_posts(‘category=-6’); just before the loop begins in the rss/rss2 feed templates. Is this a bad idea? Does anyone have a recommendation of a better way to make this happen? Thanks.
- The topic ‘How to hide categories in the feeds?’ is closed to new replies.