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. It seems that the Posts loop isn't setup.
Does anyone know how to I would go about getting different RSS feeds in this way? I will need the standard homepage RSS feed as well as comments feeds and category/tag RSS feeds.