Hi @Norm ,
1. First, a small but important enhancement related to existing post and custom post type queries: Improve existing post queries (names, not IDs only)
Currently, taxonomy-related filters in post/custom post queries require IDs only (category, tag, author). This creates unnecessary friction and makes queries harder to read, maintain, and share.
It would be extremely helpful if post queries supported:
-
Category by name / slug (not just ID)
-
Tag by name / slug
-
Author by username / nicename
-
Optional multi-select or comma-separated input for each
This aligns with native WordPress query capabilities and would make Blocs queries significantly more user-friendly and self-documenting.
2. Secondly add context-aware taxonomy term query mode
Blocs already handles post queries well, but it lacks native support for querying taxonomy terms themselves. Adding a taxonomy / term query mode would allow terms to be treated as first-class, loopable objects, just like posts.
Loopable term objects
Expose WP_Term properties in loops, including:
Context-aware term queries
Support dynamic contexts such as:
-
Current term (taxonomy archive)
-
Parent term of current term
-
Children of current term
-
Terms attached to current post
-
Top-level terms within a taxonomy
Hierarchy & filtering
-
Parent / child filtering
-
Include / exclude by ID, name, or slug
-
Hide empty terms
-
Order by name, slug, count, or term ID
Why this matters
Many modern WordPress sites are taxonomy-driven rather than post-driven (e-commerce categories, portfolios, directories, knowledge bases). Without:
-
Human-readable taxonomy filters in post queries, and
-
Native, loopable, context-aware term queries
users are forced into PHP blocks, shortcodes, or external theme logic — breaking Blocs’ visual workflow.
These enhancements would make Blocs a truly CMS-first WordPress builder, not just post-centric.
To better understand what’s possible within Blocs today, I’ve built a couple of custom brics as exploratory work:
-
One bric that extends post queries to support category, tag, and author by name/slug (not IDs only)
-
Another bric that performs taxonomy term queries and loops over WP_Term objects, including basic hierarchy and context awareness
These were created primarily as proofs of concept and workarounds, and they naturally have limitations compared to what could be achieved if this functionality were built directly into Blocs at the core level.
If it would be useful, I’d be very happy to share these brics with you purely as:
Reference implementations
-
UI → query mappings and examples
-
Sample WP_Query / WP_Term_Query logic
-
Real-world taxonomy-driven layout examples and feedback
I strongly believe this functionality would be much better designed and maintained as part of Blocs itself, rather than living in external brics, which is why I’m raising the request here instead of continuing down that path.
Thanks for the continued development of Blocs, it’s been a great 2025.
Ricardo