My site has a few custom post types, news, events, you-tube, etc. I'd like to create an rss feed for each post type as well as a main with all.

I've experimented an bit and found how to combine them into one but I haven't determined how to segment each. Do I need to create separate feed-rss.php for the templates as well as a custom function?

This is the function I'm currently using to combine them into one feed.

//Custom post feeds
function myfeed_request($qv) {
    if (isset($qv['feed']) && !isset($qv['post_type']))
        $qv['post_type'] = array('post', 'youtube', 'event', 'news' );
    return $qv;
add_filter('request', 'myfeed_request');

1 Answer 1


Look at this: http://www.seodenver.com/custom-rss-feed-in-wordpress/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.