function wpb_exclude_from_feed($query) { if ($query->is_feed() ) { $query->set('post__not_in', array(1737, 1718)); } } add_action('pre_get_posts', 'wpb_exclude_from_feed');
ingenuity