Quantcast
Channel: How / where is the wp_query object created for RSS feeds? - WordPress Development Stack Exchange
Browsing latest articles
Browse All 2 View Live

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 Article



How / 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
Browsing latest articles
Browse All 2 View Live




Latest Images