Overview

Use this tool to create custom code for WordPress Query with WP_Query class.

Usage

  • Fill in the user-friendly form.
  • Click the “Update Code” button.
  • Copy the code to your project.

Examples

If you are still learning how to use this tool, check out the following examples:

			
// WP_Query arguments
$args = array(
);

// The Query
$query = new WP_Query( $args );		
The link has been Copied to clipboard!