When working with WordPress templates for posts and pages, WP_Query allows you to customize and order the information you want to display. The WordPress Query Generator is a new web application, created by the folks at Spruce Interactive. It’s a very useful tool for quickly spitting out customized queries to use in your templates.
The generator lets you easily select post status, type, order, etc via a dropdown menu. You can also type in your own categories and tags.
Here’s a sample query generated:
1 |
|









