July 1, 2022
By default, whenever you visit a page, WordPress will run a query that will display… something. Depending on what that page is. So if you visit a normal page, then that page will display, but if you visit a blog page, then the latest posts should come up. This depends on something that we will reveal in this talk.
But we will also reveal something powerful that makes WordPress so awesome: The WP_Query class. This class allows you to run custom queries that allow you to define what type of content you want to display.
This talk will be an introduction to the WP Query class, and we will run custom loops for you to really see just how flexible, easy and powerful WordPress can be, in order to give you one more blade, into the huge Swiss Army Knife that WordPress truly is.