Trying to exclude a category from the RSS feed. Not having any luck with plugins or this function in the functions.php:
Code:
function myFeedExcluder($query) {
if ($query->is_feed) {
$query->set('cat','-98');
}
return $query;
}
add_filter('pre_get_posts','myFeedExcluder');
I don't see Atahualpa using the standard commands they are using here.
Ideas?