↧
Answer by diggy for Load WordPress RSS Feed's in a custom PHP file
do_feed() needs $wp_query and a feed query var to be set. So I guess you could do a custom query and set the feed var: if( empty( $doing_rss ) ) { $doing_rss = 1; require(ABSPATH ....
View ArticleLoad WordPress RSS Feed's in a custom PHP file
I'm trying to load different RSS feeds in WordPress in a custom PHP file. I can get the RSS feed template to load using the following: do_feed(); This loads the RSS feed fine but it contains no posts....
View Article