WP-Query Generator

A visual interface to generate complex PHP array args for WP-Query.

WP_Query Parameters

Taxonomy Query

Meta Query

Generated Code

Usage: Copy this code and use it in your theme templates or custom functions.

Features

  • Visual interface for building WP_Query arguments
  • Support for post type, taxonomy, and meta queries
  • Date query and ordering options
  • Generates complete loop code
  • Ready to paste into your theme

How to Use

  1. Select the post type you want to query
  2. Configure ordering and posts per page
  3. Add taxonomy filters (categories, tags)
  4. Add meta query conditions if needed
  5. Click "Generate WP_Query" to create the code
  6. Copy and paste into your theme template