Get access to all 633 Bricks code tutorials with BricksLabs Pro
Related Tutorials..
Checking if Repeater/Cloneable Meta Fields Are Empty in Bricks
Creating a condition to ensure that a section only gets output if at least one row of data is filled in.
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:
Pro
Day of Week Condition in Bricks
Displaying elements conditionally based on the current day of the week.
Categories:
Tags:
How to conditionally load your scripts based on an ACF field
This tutorial provides the PHP codes that can be pasted in order to enqueue your scripts conditionally based on the value of an ACF field…
Categories:
Tags:
Pro
Conditional Rendering in Bricks Based on CSS Class
Updated on 19 Jun 2024 A user asks: Is there a way to apply the same conditions to several elements like we set styles appending…
Categories:
Tags:
Pro
Checking ‘PublishPress Future’ plugin’s Future Action enabled posts
PublishPress Future is a handy plugin for scheduling actions like unpublishing or deleting posts (of any post type) at a specified date and time in…
Categories:
Tags:
Pro
Query Variables Condition in Bricks
This Pro tutorial provides the steps to register a custom function that returns true or false depending on whether the current page URL has specific…
Categories:
Tags:
Create A Customizable AJAX Add To Cart Button In Bricks Builder
In Bricks, you can simply create an Add To Cart button from a dynamic data / function {woo_add_to_cart}. This button supports AJAX as well if…
Categories:
Tags:
Pro
Dynamic Date in Bricks Countdown Element
As of Bricks 1.9.7.1, the built-in Countdown element's Date control does not support dynamic data. That is, it is not possible to set this date…
Categories:
Tags:
