Kadence Blocks Advanced Queries
The Advanced Query Loop block in Kadence Blocks Pro provides a sophisticated solution for displaying dynamic content with precision and style. Unlike standard post blocks, the Advanced Query Loop allows you to build custom query designs from scratch, integrating various post types, taxonomy filters, and search functionality. This tool is essential for creating data-driven layouts like custom blog archives, portfolio grids, or product showcases that require specific filtering and sorting logic.
Beyond simple layout controls, Kadence Blocks Pro offers advanced developer-friendly features to enhance interactivity. You can run custom JavaScript specifically when a query updates (such as during pagination or filtering) via the kb-query-loaded event, ensuring a seamless user experience. Additionally, the platform provides administrative tools to force-reindex queries if custom fields or taxonomies are not appearing correctly, along with easy options for customizing interface elements like the filter “All” button text. These professional-grade features ensure your dynamic content is not only visually stunning but also technically robust.
Kadence Blocks – advanced queries articles
This collection provides detailed guides on using the Advanced Query Loop block, implementing custom JavaScript triggers, and managing query data.
Custom Queries for the Advanced Query Loop Block (Filter)
Read more: Custom Queries for the Advanced Query Loop Block (Filter)The Advanced Query Loop block (Kadence Blocks Pro) provides settings to create a custom query loop. However, sometimes, you need to alter the query beyond the capabilities of the Advanced Query Loop’s settings. In these cases, you can add a code snippet to alter the WordPress Query object. You can add PHP code to your…
Dynamically Displaying ACF or Metabox Relationships in Query Loop (Adv) blocks
Read more: Dynamically Displaying ACF or Metabox Relationships in Query Loop (Adv) blocksThis guide covers how to display specific Custom Post Type (CPT) items, such as Tours, on another CPT, like Guides, using an ACF Relationship Field or Metabox Relationships. With the Kadence Advanced Query Loop block and a custom code snippet, this can be done dynamically, without the need to manually select posts. Want to see…
How to Change the Query Loop (Adv) “All” Button Text
Read more: How to Change the Query Loop (Adv) “All” Button TextWhile working with the Advanced Query Loop, you may need to change the “All” text found in the Button Filters. This guide will show two possible methods for changing this text. The Query Loop (Adv) Block is available in Kadence Blocks Pro. Kadence Blocks Pro can be purchased as a stand-alone product or in the…
How to Create a Custom Search Page with Hooked Elements and the Advanced Query Loop
Read more: How to Create a Custom Search Page with Hooked Elements and the Advanced Query LoopBy default, WordPress generates a simple search results page that lists posts matching the user’s search query. With Kadence Hooked Elements and the Advanced Query Loop block, you can fully customize the design and layout of your search results page without editing template files or writing custom PHP. Getting started You must have the Kadence…
How to Force Reindex Advanced Queries
Read more: How to Force Reindex Advanced QueriesSometimes when you’re using an Advanced Query Block, things like taxonomies or custom fields might not show up the way you expect. Normally, Kadence takes care of this automatically in the background. But if your query results or filtering aren’t working quite right, reindexing is a good first step to try. To do that, head…
How to use Popup Modal Filters with Advanced Query Loops
Read more: How to use Popup Modal Filters with Advanced Query LoopsThe Advanced Query Loop Block provides a variety of filtering options through the Query Loop Filter Blocks. For an enhanced user experience, consider placing these filters inside a Modal Block to create an off-canvas filter menu. This approach works well for both desktop and/or tablet/mobile users. The Advanced Query Loop and Modal Blocks are part of Kadence Blocks…
Query Loop (Adv) Block
Read more: Query Loop (Adv) BlockWhen you require a custom query design, the Advanced Query Loop Block is the perfect solution. This block combines all of the standard Kadence customization features, enabling you to create stunning advanced queries on your website. You can display different post types, add filters, and even search through the query with ease. Getting Started You…
Query Loop (Adv) Block: Split Character Filter
Read more: Query Loop (Adv) Block: Split Character FilterThe kadence_blocks_pro_query_block_split_character filter allows you to change the character used to split values in the Query Loop (Adv) Block (included in Kadence Blocks Pro). This is especially useful when your custom field values contain commas (,). Such as names with suffixes or city-country pairs, which the default behavior would incorrectly split. The Problem When using…