Get access to all 633 Bricks code tutorials with BricksLabs Pro
Related Tutorials..
Pro
Post ID Query Variable-based Post Output in Bricks
How to query a single post of a custom post type using the post ID passed to a page via a URL parameter.
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:
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
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:
Check if a given category has at least one post
There could be situations where you want to check if a given category (by its slug) has at least 1 post assigned to that category.…
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
Conditional Related Posts in Bricks
How to output a section only if there is at least 1 related post for the current post being viewed.
Categories:
Tags:
Pro
City-based and Country-based Conditional Output in Bricks
This Pro tutorial provides the steps to render a Bricks element only if the visitor is from the specified country or city. Note: Caching may…
Categories:
Tags:
Conditional Rendering for Logged in/out Users by CSS Classes in Bricks
This tutorial shows how Bricks builder's bricks/element/render filter can be used to conditionally output elements having a class of logged-in to logged-in users only and…
Categories:
Tags: