Get access to all 633 Bricks code tutorials with BricksLabs Pro
Related Tutorials..
Pro
Sorting ACF Relationship Posts by Date Meta in Bricks
Consider the following setup: CPT: Events ACF Fields:Event Date Information (Group)|__Event Date (Date Picker)Pick Sub Events (Relationship) An Event can have 1 or more related…
Categories:
Tags:
Pro
Outputting Only the First ACF Repeater Row in Bricks
Updated on 12 Dec 2023 In the Bricks Facebook group a user asks: How can I display only the first entry from an ACF repeater?…
Categories:
Tags:
Pro
How to programmatically add a class to an element in Bricks
This Pro tutorial shows how a dynamic class can be added to a query loop element in Bricks programmatically. Let's take an example where posts…
Categories:
Tags:
Pro
Prefiltering Bricks Terms Query Loop
Let's say there's a Events CPT with a 'Event Year' custom taxonomy. Sample event year names could be: 2021, 2022, 2024, 2025, 2028 etc. We…
Categories:
Tags:
Removing Action/Filter Inside a Plugin’s Namespaced Class Constructor
Recently worked with a friend figuring out how to remove/undo/cancel an add_action() line that's inside a plugin's constructor inside a PHP Class with the file…
Categories:
Tags:
How to create filters with IsotopeJS in Bricks (Part 2): Dynamic Image Galleries
This tutorial series will review how to create a dynamic filterable image gallery using the IsotopeJS library‘s features in Bricks. Requirements Create a custom taxonomy for your…
Categories:
Tags:
Modifying ACF Field Value Before It Is Output
Consider the scenario where a Page has a "Page Fields" field group created with ACF Pro like this: Field name: scientific_coordinators (type Repeater)|__ Sub field…
Categories:
Tags:
Pro
ACF Relationship Select Filter in Bricks
In the BricksLabs Facebook group, a user asks: I'm learning about ACF relationships and attempting to output a list of posts on any given page,…
Categories:
Tags:
Pro
Post Attachments Galleries in Bricks
This Pro tutorial shows how bricks/element/settings filter can be used to automatically replace the images of an Image Gallery element in Bricks builder with the…
Categories:
Tags:
