Get access to all 633 Bricks code tutorials with BricksLabs Pro
Related Tutorials..
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
Showing a Popup conditionally in Bricks based on Query Parameter
Here's two ways a Bricks Popup can be shown on page load depending on URL parameter value.
Categories:
Tags:
Conditionally Outputting Based on Query Count in Bricks
Update on 22 Sep 2023: There's a much simpler built-in method now. See this post. In the Bricks Facebook group a user asks: Is there…
Categories:
Tags:
Pro
Meta Box Settings Page Custom Field Conditional in Bricks
This is the equivalent of ACF Options Page Custom Field Conditional in Bricks tutorial for Meta Box. Refer to the previous Meta Box Settings Fields…
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
User Role Conditional Output in Bricks
This Pro tutorial provides the steps to output elements based on their CSS class to users of the specified role in WordPress when using Bricks…
Categories:
Tags:
Pro
Check if the User Purchased Any of the Specified Products
This Pro tutorial provides the steps for setting up a dynamic data condition on any element in Bricks so it can be output only if…
Categories:
Tags:
Conditional Output on the First Page of Archives in Bricks
How to output an element on an archive page only if we're on the first page of the archive.
Categories:
Tags:
Pro
How to Add Custom, Conditional Skip Links in Bricks
How we can customise the skip links for different templates, so they better match the content on the page.
Categories:
Tags: