Custom post types in RSS feed not working

Not 100% sure it is a podlove issue and not 100% sure what version this issue appeared. But it has worked.

This is the snippet from my functions.php that is not working anymore.

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

This, however, works for some reason (but includes stuff i don’t want)

function myfeed_request($qv) {
    if (isset($qv['feed']))
    	$qv['post_type'] = get_post_types();
    return $qv;
}
add_filter('request', 'myfeed_request');

If i deactivate the podlove publisher plugin everything works as expected.

Solved it!
I have a multisite but no podcast on my main blog. As you’ve recommended i have Podlove Publisher activated for the whole network and that makes it active on the main site too. What i did was to untick the “Include episode posts on the front page and in the blog feed” box under expert setting on the main blog.

This works without any problems for me but this could still be an issue for other multisites? Just a heads up. May be a non issue.

1 Like

Thanks for following up, will look into if it has a serious underlying issue.

1 Like