Get access to all 610 Bricks code tutorials with BricksLabs Pro
Related Tutorials..
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:
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:
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 single post Bricks template based on internal referrer URL
How to automatically select a single post template depending on the page from which the post is accessed.
Categories:
Tags:
Pro
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…
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 Elements only for Posts that have a Specific Taxonomy Term
Using the core WordPress has_term() function for checking if the current post has a specific term of a given taxonomy.
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: