Bricks Tutorials

(630 tutorials)
Pro
Top-level Pages and Children Bricks Query Loop screen shot

Top-level Pages and Children Bricks Query Loop

This Pro tutorial for Bricks users can be considered Part 2 or a variation of the earlier Bricks Query Loop for Top-level Parent Pages with Children tutorial. Given this Page…
Categories:
Pro
Bricks Query Loop for Top-level Parent Pages with Children screen shot

Bricks Query Loop for Top-level Parent Pages with Children

In the Bricks Facebook group, a user asked: Looking for a custom query to output a list of posts in the same hierarchy that the posts use. For example, the…
Categories:
Pro
Filtering ACF Relationship Query by Post Meta in Bricks screen shot

Filtering ACF Relationship Query by Post Meta in Bricks

How to filter the posts of a post type related to another post type based on the value of a True / False type ACF field.
Pro
Nav Menus Custom Query Types in Bricks screen shot

Nav Menus Custom Query Types in Bricks

Updated on 21 Aug 2024 This Pro tutorial shows how custom query types for each navigation menu can be generated in Bricks. This enables us to loop through the menu…
Pro
Parent post Bricks query loop screen shot

Parent post Bricks query loop

Updated on 5 Feb 2024 In the BricksLabs Facebook group a user asks: Is there a way to output the data of a parent post in a child post? Are…
Categories:
Pro
Limit Bricks Users Query to Current Post’s User-type ACF Field Value screen shot

Limit Bricks Users Query to Current Post’s User-type ACF Field Value

Consider this scenario with ACF: "John Briley" user: "Gandhi" movie: The requirement is to show John Briley as the author when Gandhi movie item is being viewed on the front…
Categories:
Pro
Related Posts Grouped by Custom Field Value when using ACF Relationships in Bricks screen shot

Related Posts Grouped by Custom Field Value when using ACF Relationships in Bricks

In the Bricks Facebook group a user asks: Let's summarize the situation. with the CPTs and field groups created using ACF. Requirement: On single locations, show related boats grouped by…
Pro
Category Drilldown in Bricks screen shot

Category Drilldown in Bricks

This Pro tutorial provides the steps for showing child categories if the current category has children or posts, if otherwise on category archives when using Bricks. Step 1 Add an…
Categories:
Pro
Adding active class to the current term/post in a Bricks query loop on Term archives/single posts screen shot

Adding active class to the current term/post in a Bricks query loop on Term archives/single posts

Updated on 29 Feb 2024 In the Sibling Terms Bricks Query Loop tutorial, a member asked: How can I set the class "active" to the current category ? This Pro…
Categories:
Changing the URL of “Edit in WordPress” icon in the Bricks editor screen shot

Changing the URL of “Edit in WordPress” icon in the Bricks editor

How we can change the WP icon in the builder, including the tooltip.
Categories:
Pro
How to Update Custom Fields with Default Values For Existing Posts when using ACF screen shot

How to Update Custom Fields with Default Values For Existing Posts when using ACF

Let's take a scenario where there are 10 Pages in a WordPress site. You proceed to create a Text-type of custom field called, say, "Custom Title" using ACF for Pages…
Categories:
Tags:
Pro
Conditional CSS in Bricks based on Post Meta screen shot

Conditional CSS in Bricks based on Post Meta

In the Bricks Facebook group a user asked: Hi, how do you normally control margin, padding and font-size using dynamic data? I'm looking for the best workflow to accommodate these…
Pro
Adding CSS based on a PHP boolean value in WordPress screen shot

Adding CSS based on a PHP boolean value in WordPress

In the Bricks Facebook group a user asked: How do I display a pseudo element depending on the presence of data in an ACF field This Pro tutorial shows one…