Bricks Tutorials

(630 tutorials)
Pro
Non-empty events sorted by event date and other posts below in Bricks screen shot

Non-empty events sorted by event date and other posts below in Bricks

Updated on 15 Jan 2024 Consider a scenario where you are showing posts from multiple post types namely post, event and game in a single query. Also, events have an…
Categories:
Pro
Primary Term Name and Link in Bricks when using Rank Math screen shot

Primary Term Name and Link in Bricks when using Rank Math

One of the features of the Rank Math SEO plugin is the ability to mark a term like category or product category as primary. See How to Choose a Primary…
Pro
ACF Repeater sub field value dynamic data condition in Bricks screen shot

ACF Repeater sub field value dynamic data condition in Bricks

This Pro tutorial provides the steps to output an element on single posts (can be of any post type) only if a specified ACF (Pro) Repeater field has a specified…
Pro
Ordering Meta Box group rows by a sub field in Bricks screen shot

Ordering Meta Box group rows by a sub field in Bricks

In the BricksLabs Facebook group a user asks: Any idea how to set the sort order of a cloneable group in the query? In this case, I just need to…
Pro
Meta Box Relationship in Bricks using Posts Query Loop screen shot

Meta Box Relationship in Bricks using Posts Query Loop

This Pro tutorial is similar to the recent ACF Relationship in Bricks using Posts Query Loop guide but for Meta Box. In the past, we covered a somewhat custom requirement…
Categories:
Pro
Events grouped by Event Date custom field in Bricks screen shot

Events grouped by Event Date custom field in Bricks

This Pro tutorial for Bricks users provides the steps to output posts of an event custom post type dynamically grouped by the value of their event_date, a date-type custom field…
Categories:
Making Bricks Sticky Header Static at a Breakpoint screen shot

Making Bricks Sticky Header Static at a Breakpoint

How to set a breakpoint at which the sticky header should stop being sticky.
Categories:
Tags:
Setting p as the default HTML tag for Basic Text elements in Bricks screen shot

Setting p as the default HTML tag for Basic Text elements in Bricks

Basic text elements in Bricks have div tags by default, here's one way to change it.
Categories:
Pro
Configuring Image Gallery dynamic source in Bricks screen shot

Configuring Image Gallery dynamic source in Bricks

Let's say you have a custom field created with ACF Pro of the type Gallery called "Property Gallery" for posts of "Property" CPT. In the Bricks single property CPT template,…
Pro
Parent Query Loop Object – Traversing Nested Query Loops Up in Bricks screen shot

Parent Query Loop Object – Traversing Nested Query Loops Up in Bricks

Bricks enables us to build nested query levels of unlimited levels. Here are a couple of examples: Sometimes, you might want to obtain the parent (of any level, not just…
Categories:
Pro
Current Single Post Reference From Inside a Bricks Query Loop screen shot

Current Single Post Reference From Inside a Bricks Query Loop

Use case: Get the single post’s custom field (like ACF Repeater or Meta Box Group) array row corresponding to the loop’s counter/index
Categories:
Pro
Adjacent Posts Bricks Query Loop screen shot

Adjacent Posts Bricks Query Loop

This Pro tutorial provides the steps to customize a posts query loop in Bricks to show previous and next posts on single post pages. The benefit of previous and next…
Categories: