Get access to all 610 Bricks code tutorials with BricksLabs Pro
Related Tutorials..
Conditionally Render ACF Custom Fields in the Post Editor
How to conditionally show ACF meta boxes based on how many parents a custom post type has.
Categories:
Tags:
Pro
Setting a Bricks template for Parent pages
This Pro tutorial shows how bricks/active_templates filter can be used to programmatically assign a Bricks template to all singular pages (of any post type) that…
Categories:
Tags:
Pro
Indirect Meta Box Relationship in Bricks
This Pro tutorial shows how to modify a Bricks' query loop parameters to only show the posts of a CPT that is indirectly related to…
Categories:
Tags:
Pro
Random Row from ACF Repeater in Bricks
In the past, we shared how the first row of a ACF Repeater can be output in a Bricks query loop here. This Pro tutorial…
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
Sorting ACF Repeater Query by Sub Field in Bricks
This Pro tutorial shows how the rows of a ACF Repeater can be sorted alphabetically by the value of one of its sub fields when…
Categories:
Tags:
Pro
Feature Post on Posts page in Bricks
This Pro tutorial explores different options for showing the top-most or latest post as a wide feature post with the rest in a grid on…
Categories:
Tags:
Pro
Making a Nav Menu Item Active for Custom Post Type Single Views in WordPress
Consider this scenario: CPT: project Page titled "Project" is being used to show a list/grid of all the projects rather than the CPT archive. When…
Categories:
Tags:
How to Remove Name and Website Fields in Bricks Comment Forms
Updated on 14 Mar 2024 In the BricksLabs Facebook group a user asked: What is the best method to remove fields from the Bricks "Comments"…
Categories:
Tags: