Grids With Dynamic Query

Use dynamic query in grids, lists, carousels and other loop elements to dynamically populate the archive pages and single posts with relevant data like posts from the archive or same taxonomy (related) posts on the single post. It helps to create archive/category layouts and related posts sections.

Related Posts

Let’s take for example “Posts Extended Grid” element. If added to some singe post/page using page builder, in the “Query” section you can select to display “Same taxonomy items” option, which will display the posts/pages related to the current post/page. You can the specify the terms for “Related By” query:

Posts Archive

When using the grid content elements in TheGem templates builder, the “Query” section contains the “Posts Archive” option which dynamically gets the list of the posts assigned to the current archive page with the template applied:

Following grid/list content elements support the dynamic query:

  • Posts Extended Grid
  • Featured Posts Slider
  • Blog Grid
  • Blog List
  • Blog Slider
  • Blog Timeline
  • Portfolio Grid
  • Portfolio List
  • Portfolio Slider