Plugin Directory

Query Wrangler

Query Wrangler provides an intuitive interface for creating complex WP queries as shortcodes and widgets. UI based on Drupal Views.

How do I use query shortcodes?

Easy, the code you're looking for is like this. [query id=2] , where the number 2 is the query id. This can be found on the Query Wrangler page eside each query.

  • By slug: [query slug="my-query"]
  • Customize WP_Query arguments: [query id=2 args="posts_per_page=1&post_type=page"]
  • Customize WP_Query arguments with contextual data: [query id=1 args="author={{post:post_author}}&post_type={{post:post_type}}"]

Developer & Usage

What are overrides and how do I use them?

Overrides allow you to alter the display and information given on category and tag pages. For a simple example, add a new query and chose the type override. Choose how you want the content to display, then examine the Overrides box. Select a category or multiple categories to override. Save the query, then visit that category page.

Requires: 3 or higher
Compatible up to: 4.1.3
Last Updated: 2015-4-9
Active Installs: 1,000+


5 out of 5 stars


7 of 9 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1
0,2,0 100,2,2 50,2,1 100,2,2 100,1,1 100,2,2
50,2,1 100,1,1
100,1,1 0,1,0
100,1,1 100,1,1 100,1,1 100,1,1
0,1,0 100,1,1 100,1,1