This is a big one: the Query block now speaks WooCommerce. Query products, variations, and categories, display them with a full set of product dynamic tags, and build multi-clause meta queries with a proper visual builder.
New
- WooCommerce query type — the Query block can now query products, product variations, and product categories, with its own REST endpoint, query-arg normalization, and looper rendering.
- WooCommerce dynamic tags — 18 new tags for product data
- Visual Meta Query builder — build meta queries with multiple clauses, an
AND/OR relation between them, and a per-clause compare operator (=, !=, LIKE,
IN, BETWEEN, EXISTS, …) and value type (CHAR, NUMERIC, DATE, …). Works across
Post, Term, User, and WooCommerce queries.
- Query Preview — preview the resolved query arguments for any Query block
right in the editor, with one-click copy to clipboard. Available from both the
sidebar inspector and the block toolbar. - Variation grouping — query products as grouped variations, with dedup logic
and primary/secondary attribute resolution, plus a dedicated “Grouped Variation
Card” template. - Button styling out of the box — template buttons now auto-resolve their
styling (your plugin setting → a GB Pro global button class → GB’s default
button styles), so starter templates look right immediately.
Improved
- Unified meta handling — Post, Term, User, and WooCommerce queries now build
structuredmeta_queryarrays through a shared builder instead of per-type
handling. This fixes a range of meta-query edge cases and lays the groundwork
for multiple meta-query dimensions per block (coming later). - Consolidated product tags — the price, stock, and image tags each cover
their variants through a single parameter now, so there’s less to scroll past. - Accessibility — starter-template images now ship with alt text.
- Term queries —
hide_emptyis now sticky. - Cleaner inspector UI and parameter handling across all query types.
- Expanded automated test coverage and updated hooks documentation.
Fixed
- Fixed a runtime error that caused certain autocomplete controls to render
[object Object]instead of the saved value. - Free products (price of 0) now display correctly.
- Fixed minor issues across the query controls, product dynamic tags, and editor
UI surfaced during release testing.