Bricks Tutorials

(611 tutorials)
Creating Custom Add to Cart Buttons for SureCart Products in Bricks screen shot

Creating Custom Add to Cart Buttons for SureCart Products in Bricks

Creating custom add to cart buttons for SureCart in Bricks, adding a loading animation & tooltip for visual feedback.
Categories:
Tags:
Checking if the current post has been published within the last x days screen shot

Checking if the current post has been published within the last x days

Conditionally output an element if the current post has been published in the last x number of days.
Categories:
Pro
Checking if the current Page/Post has Children i.e. is a Parent in Bricks screen shot

Checking if the current Page/Post has Children i.e. is a Parent in Bricks

Shows how we can check whether the current Page or Post (of any hierarchical post type) is a parent
Categories:
Pro
Displaying Gallery of SureCart Product Images with Bricks’ Query Loop screen shot

Displaying Gallery of SureCart Product Images with Bricks’ Query Loop

Custom query loop for looping through SureCart product images.
Categories:
Tags:
Pro
Posts older than today in Bricks screen shot

Posts older than today in Bricks

How to display only posts that were published before today in a query loop.
Categories:
Pro
Posts Grouped by Month and Year in Bricks screen shot

Posts Grouped by Month and Year in Bricks

Nesting query loops with months & years in descending order, with the inner loop outputting the posts.
Categories:
Displaying SureCart Featured Products & Products Collections with a Query Loop screen shot

Displaying SureCart Featured Products & Products Collections with a Query Loop

We walk through how to use a query loop to display SureCart products, featured products & collections.
Categories:
Pro
Related Services grouped by Service Categories on Single Branch Posts in Bricks screen shot

Related Services grouped by Service Categories on Single Branch Posts in Bricks

How to query ACF relationship fields on single CPT templates.
Categories:
Pro
Conditionally Hiding Bricks Filters based on Select Filter Value screen shot

Conditionally Hiding Bricks Filters based on Select Filter Value

How show or hide Bricks' filter based on the selection made by another filter.
Categories:
Tags:
Pro
Custom SQL Ordering for Sorting Events in Bricks screen shot

Custom SQL Ordering for Sorting Events in Bricks

Showing events ordered by the event date with upcoming events in ascending order and past events in descending order.
Categories:
Pro
Term Parent Slug Data Attribute in Bricks screen shot

Term Parent Slug Data Attribute in Bricks

How we can set a data attributes on a child taxonomy dynamically based on the parent taxonomy.
Categories:
Pro
Dynamic Horizontal Posts Accordion in Bricks screen shot

Dynamic Horizontal Posts Accordion in Bricks

Creating a horizontal accordion of featured images from posts output by Bricks' query loop.
Categories:
Tags:
Pro
ACF Relationship Select Filter in Bricks screen shot

ACF Relationship Select Filter in Bricks

In the BricksLabs Facebook group, a user asks: I'm learning about ACF relationships and attempting to output a list of posts on any given page,…
Categories:
Pro
Sub Field Value from the Last ACF Repeater Row in Bricks screen shot

Sub Field Value from the Last ACF Repeater Row in Bricks

Getting the value of a specific sub field of an ACF Pro‘s Repeater field and output in the query loop.
Categories:
Tags:
Pro
Conditional Output in Bricks based on if Content has Headings screen shot

Conditional Output in Bricks based on if Content has Headings

How to prevent the output of the table of contents if the content has no headings.
Categories:
Tags: