When you visit a WordPress site and request a page like a homepage, a single blog post, an archive listing, or a search results page—WordPress goes through a detailed, organized process to figure out what content to display. This operation revolves around something called the "main query." ...