Answer by Jan Fabry for How / where is the wp_query object created for RSS...
These files are not loaded directly, but similar to regular template files, only after the WP class is initialized. This class does the main query, which already can include the comments if the correct...
View ArticleHow / where is the wp_query object created for RSS feeds?
Looking at the code in feed-rss2.php and feeds-rss2-comments.php, after the header preamble, we have a Loop - eg in feeds-rss2-comments.php:if ( have_comments() ) : while ( have_comments() ) :...
View Article
More Pages to Explore .....