Custom post types in main RSS feed – not working?
-
I’m using two custom post types, “press” and “career”, on my site https://www.rachael-stirling.com/
I have this function added to my functions.php file as I’d like to include those types of posts in my main RSS feed:
function myfeed_request($qv) { if (isset($qv['feed'])) $qv['post_type'] = 'any'; return $qv; } add_filter('request', 'myfeed_request');
It doesn’t work though. I’m still only seeing my “post” posts in the RSS, not “career” or “press”.
Does anyone know what I might be doing wrong? I’ve tried numerous functions from all over the web and still they are not showing up. ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom post types in main RSS feed – not working?’ is closed to new replies.