Data

Query Builder

Build a saved, reusable query once — "latest posts in this category", "featured products", "events after today" — and use it across multiple widgets. Change the query in one place and every widget that uses it updates.

3 min read Updated July 14, 2026

Build a saved, reusable query once — “latest posts in this category”, “featured products”, “events after today” — and use it across multiple widgets. Change the query in one place and every widget that uses it updates.

Requires: the Query Builder module enabled in Tiger Elements → Settings.


Why use saved queries?

Instead of configuring the same filters on every grid or slider, you define a query once and reuse it by name. It keeps complex listings consistent and easy to maintain — and when the rule changes (“now show only in-stock products”), you edit it in one place rather than on a dozen widgets.


Creating a query

  1. Go to Tiger Elements → Query Builder.
  2. Click Add New and give it a clear name (e.g. Featured Products).
  3. Choose what it pulls:
  • Post type — Posts, Products, or any custom type (including a CCT-backed listing).
  • Order by — date, title, price, random, menu order, and more.
  • Filters — categories, tags and custom terms, authors, a number-of-items limit, and custom-field conditions.
  1. Save.

Your query now appears in the “Saved Tiger Query” option inside compatible widgets.


Using a query in a widget

Several Tiger widgets can pull from a saved query. In the widget’s settings:

  1. Set the Source (or Query Source) to Saved Tiger Query.
  2. Pick your query from the list.

Widgets that support saved queries include:

  • AJAX Grid
  • Query Grid
  • Event Calendar
  • Featured Image (pulls the image from a related record via a saved query)

Note: the Dynamic Loop widget has its own separate query system (WordPress Query / Current Archive / Related-by-Meta / External REST API) and does not use saved Tiger Queries — see the Dynamic Loop & Query Grid doc.


Tips

  • Name queries by purpose, not settings (e.g. Homepage Highlights), so they’re easy to reuse.
  • Build one query for a listing and reuse it in a grid on the homepage and a slider in the sidebar — both stay in sync.
  • Use Order by → Random for “you might also like” style blocks.
  • Combine a saved query with Relations to drive “related items” lists from a connection.

Troubleshooting

My query returns nothing. Check the post type and filters — an over-specific filter (e.g. a category with no posts) returns an empty result. Loosen the filters and re-test.

My query doesn’t appear in a widget. Make sure you saved the query and that the widget’s source is set to Saved Tiger Query. Only query-aware widgets (above) show the option.

I changed a query but a page didn’t update. Saved queries update everywhere automatically; if you use page caching, clear it after big changes.

Frequently asked questions

A visual builder for custom queries you reuse in loop grids.

Yes – build complex queries without writing code.

Still stuck?

We’re here to help

Can’t find what you’re looking for, or hit something that looks like a bug? Reach the support team or ask the community.