WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created custom post-types in my site but these posts are not shown in the RSS. Only the regular posts appear there.

What could be preventing them from showing up there

share|improve this question
up vote 4 down vote accepted

They don't normally show there That is how they are supposed to work. Each CPT has a feed of it's own by default Everything in WP has a feed it seems!

But if you want them in your main feed

this can go in your functions.php

function myfeed_request($qv) {
    if (isset($qv['feed']) && !isset($qv['post_type']))
        $qv['post_type'] = array('ve_products', 'post');
    return $qv;
add_filter('request', 'myfeed_request');

You see this line:

$qv['post_type'] = array('ve_products', 'post');

That includes normal posts and my CPT of ve_products in my main feed

You would swap out that for your CPT, if you have more CPTs, add them into that array

share|improve this answer
Worked perfectly, thanks! – Drai Feb 15 '12 at 4:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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