Hi - rss feeds from wordpress consists of posts.
Is there a method to have a page in a rss feed?
Hi - rss feeds from wordpress consists of posts.
Is there a method to have a page in a rss feed?
just a single page? Or to include pages in general?
// ADDS POST TYPES TO RSS FEED
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');
in functions.php allows you to determin what is in an rss feed.
see the array with ve_products and post? That allows normal posts, and my custom post type of ve_products. You could swap out my CPT for page
Thank you - how would you do a single post - say the page is named 'testpage' ?
This topic has been closed to new replies.