Performant WordPress Queries

Querying posts can be tricky. There are many ways to fetch content, and it’s not always clear what will give you the most benefits. The answers I’ve seen are also not always straight-forward and the “why” is not always explained.

Here’s my attempt to give basic advice on how to write performant WordPress Queries.