- Carlo Daniele. Building Efficient WordPress Queries with WP_Query. kinsta, 2019.
- Daniel Patanaki. How To Use WP_Query in WordPress. Smashing Magazine, 2013.
- If you want to dip your toe in.
- Rachel McCollin & Baris Unver. Mastering WP_Query Series. Envatuts+, 2015.
- Part 1: An Introduction
- Part 2: Using the Loop
- Part 3: Related Functions
- Part 4: Actions and Filters
- Part 5: Properties and Methods
- Part 6: Posts, Pages and Post Types
- Part 7: Categories and Tags
- Part 8: Taxonomies
- Part 9: Custom Fields
- Part 10: Date
- Part 11: Status, Order and Pagination
- Part 12: Author, Search, Password & Permissions
- Part 13: 10 Useful Examples
- Part 14: Combining WP_Query with the Main Query
- Part 15: Mastering WP_User_Query
- Part 16: Mastering WP_Comment_Query
- Part 17: Mastering WP_Meta_Query & WP_Data_Query
- Part 18: Query Improvements in the Latest Versions of WordPress
- Part 19: Series Finale
- Carl Alexander. WordPress for the Adventurous: WP_Query Class.
- Fred Meyer. Working with WP_Query: The Course. wpshout, 2016.
- David Hayes. Getting to Know WP_Query. wpshout, 2014.
- Carlo Daniele. Building an Advanced WordPress Search with WP_Query. Smashing Magazine, 2016.
- Josh Pollock. A Guide to WP_Query. torque, 2016.
- Tom McFarlin. Advanced WordPress Queries Series (3 Parts) tutsplus, 2011.
Specific Use Cases
- David Hayes. Simple WP_Query Example: Using a Shortcode to Display Post Titles. wpshout, 2019.
- Igor Benic. Extending WP_Query with Custom Queries and Tables. 2019.
- Fred Meyer. Using WP_Query Objects Without the Loop. wpshout, 2016.
- Rachel McCollin. 5 Simple Methods for Creating Custom Queries in WordPress. wpmudev, 2016.
- Rachel McCollin. How to Code Multiple Loops While Only Querying the Database Once. tutsplus, 2016.
- James Steinbach. Changing WordPress Query Vars for Specific Archive Pages. 2015.
- Tom McFarlin.
- WP_Query Readability Improvements (for Maintenance). 2017.
- Using WP_Query and Multiple Meta Keys. 2015.
- How to Display the Last WordPress Query. 2015.
- Using WP_Query to Search for a Person. 2015.
- Using WP_Query to Get Posts from Last Week. 2014.
- Passing Variables in WordPress: WP_Query. 2014.
- Properly Calculating Page Offset in Custom WordPress Queries. 2012.
- How to Use WP_User_Query for WordPress User Queries. 2012.
- How to Setup Custom Queries for WP_Query Pagination. 2012.
- Using WP_User_Query To Retrieve Users Across Multiple Roles. 2012.
- Chris Coyier. Custom Loop/Query Based on Custom Fields. css tricks, 2019.
- Ben Gillabanks. WordPress Query: Exclude Posts With No Featured Image. binarymoon, 2013.
- Daniel Pataki. How To Use WP_Query In WordPress. smashing magazine, 2013.
- Pippin Williamson. Querying Comments with WP_Comment_Query and Meta Query in 3.5. 2012.