Create new RSS feed not combining it
-
Hello,
thanks for the question
Is it possible to create an separate RSS feed?
I want to have an feed but it’s combined in the rrs current feet.// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// ** Update RSS Feed to include custom post type:
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=//add_filter(‘request’, ‘myfeed_request’);
add_filter(‘the_content_feed’, ‘myfeed_request’);function myfeed_request($qv) {
if (isset($qv[‘feed’])) {
$qv[‘post_type’] = get_post_types();
}
return $qv;
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Create new RSS feed not combining it’ is closed to new replies.