Get access to all 634 Bricks code tutorials with BricksLabs Pro
Related Tutorials..
Pro
Conditional Rendering Based On Meta Box Group’s Sub Field
This Pro tutorial shows how we can output an element on a single post pages only if a specified sub-field (custom field created using Meta…
Categories:
Tags:
JetEngine Checkbox Condition in Bricks
How elements in Bricks can be conditionally output depending on the selected option from a JetEngine checkbox field.
Categories:
Tags:
Pro
Check If The Latest Post Was Published in The Last X Minutes
In this Pro tutorial we shall define a custom function that takes in the number of minutes as an argument and returns true if there…
Categories:
Tags:
Pro
Bricks Dynamic Condition – Check if today falls within 5 days before any holiday date
Creating a custom condition that returns true or false depending on whether today falls within 5 days before any holiday dates selected on a Meta…
Categories:
Tags:
Pro
Conditional CSS Classes based on Bricks Query Count
In a Bricks project I am currently working on, there are nested query loops - team members inside departments on a Page. Each team member…
Categories:
Tags:
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:
Tags:
Conditional Output based on Manual Excerpt in Bricks
How to display a post’s excerpt only if it has been manually set.
Categories:
Tags:
Pro
ACF Options Page Custom Field Conditional in Bricks
This Pro tutorial shows how we can set an element in Bricks to be output only if the value of a specific custom field on…
Categories:
Tags:
Pro
At Least 1 Search Result Condition in Bricks
Registering a custom condition to render elements depending on whether there is at least one search result.
Categories:
Tags: