Get access to all 633 Bricks code tutorials with BricksLabs Pro
Related Tutorials..
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
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
Conditionally Rendering an Element Outside the Loop based on Taxonomy Term in Bricks
A user asks: Hiding element based on taxonomy I have an element in a footer that I want to hide if a page has a…
Categories:
Tags:
[Function] Current Term Has Children
Updated on 20 Jul 2024 A user asks: I'm working on an archive template for WooCommerce products. I'm trying to hide a section if there…
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
User Role Condition in Bricks
This Pro tutorial provides the steps to conditionally output elements depending on the currently logged-in user's role. Step 1 Create a section Template having the…
Categories:
Tags:
Is WooCommerce Cart Empty Condition in Bricks
Updated on 5 Nov 2024 Looking to conditionally render an element depending on whether the user's cart is empty or not when using WooCommerce? Add…
Categories:
Tags:
Pro
Conditional Rendering of ACF Repeater Rows Based on True / False Sub Field in Bricks
This Pro tutorial provides the steps to modify a ACF Repeater query loop to only output the rows for which a True / False type…
Categories:
Tags:
Render an element having a specific HTML ID based on value of a custom field
This tutorial provides the steps to use Bricks' bricks/element/render filter to conditionally output an element that has the specified HTML ID based on the value…
Categories:
Tags: