Quantcast
Channel: Load WordPress RSS Feed's in a custom PHP file - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article


Load 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

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>