WordPress has built-in RSS feed functionality that automatically generates an XML feed of your website’s posts. But this does not include pages!

Pop this small bit of code into your theme’s functions.php file to add pages to your RSS feed:

// Add pages to RSS feed
add_filter('request', 'feed_request');
function feed_request($qv){
	$rss_post_types = array('post', 'page');
	if(isset($qv['feed']) && !isset($qv['post_type']))
		$qv['post_type'] = $rss_post_types;
	return $qv;
Free Graphics, Icons, Tutorials
Free Graphics Free Christmas Vector Icon Graphics Pack 2017Free Fitness Vector Icons Graphics PackFree Camping Vector Graphics PackFree Summer Graphics PackFree File Icon PackFree Fast Food Vector Graphics
Sharing is caring...
Like & Follow
Share the love, share this page! Facebook Twitter Digg Reddit LinkedIn Pinterest Email
Close [X]
The Web Taylor
1000 Lakeside North Harbour Portsmouth, Hampshire PO6 3EN
02392 123358