Menu
All plugins

Visual Query Builder for Bricks

Visual Query Builder adds a visual editor for query loops inside the Bricks builder. You pick fields and conditions from your own custom fields and taxonomies instead of writing meta and tax query rows by hand.

Please note: this is a development build. It relies on Bricks builder internals that are not documented, so it may need adapting to your Bricks version. Use it on a staging site, take a backup first, and do not use it in production yet. There is no live demo page.

What it does

  • Reads the selected query element in the builder and writes your conditions back to it with Apply to Bricks.
  • Applies the conditions on the server before the query runs.
  • For simple AND conditions, also writes the native meta query and taxonomy query rows, so the normal Bricks panel shows them.
  • Understands ACF fields, including date fields, and treats number-like values in plain text fields as numbers when you compare them.
  • Shows a preview, and when the preview is empty it explains why, with counts of published posts, how many have the key and sample values.

Known limits

  • Nested OR groups in the native panel are not round-tripped.
  • Editing the visual conditions and the native rows at the same time is not yet a fully proven lossless round trip.
  • Bricks undo, save tracking, template propagation and front-end rendering still need testing in a real builder before production use.

Testing it

Apply a filter, save with Bricks, reload and inspect the loop. Reopen the editor, duplicate a loop and check undo.