11th Jul '25
/
0 comments

Frontend Filtering of ACF Repeater Rows by Checkbox Sub Field in Bricks

Updated on 14 Jul 2025

This Pro tutorial provides the steps to set up input search field filter and button filters so visitors can filter the rows of a ACF Repeater on single CPT posts.

Consider this scenario:

CPT: Beauty Treatments

ACF Field Group:Pricing Section (Repeater)|__ Treatment Name (Text)|__ Content (WYSIWYG Editor)|__ Price (Number)|__ Category (Checkbox)|____ Choices:|____ Face|____ Body|____ Legs

Sample post titled "Waxing":

List view:

Accordion (with either BricksExtras or Frames) view:

Step 1

Create a function that returns space-separated list of categories in lowercase.

Add the following in child theme's functions.php (w/o the opening PHP tag) or a code snippets plugin:

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Get access to all 618 Bricks code tutorials with BricksLabs Pro

Related Tutorials..

Pro
Querying Posts by ACF Date Sub Field in Bricks

Querying Posts by ACF Date Sub Field in Bricks

Updated on 17 Nov 2023. This Pro tutorial shows how we can set post__in query parameter of a query loop in Bricks to an array…
Categories:
Tags:
Pro
Bricks Slider Images From ACF Flexible Content Sub Field

Bricks Slider Images From ACF Flexible Content Sub Field

Consider the following field group associated with Pages when using ACF Pro: "Page Fields" field group|_"Page Content" Flexible Content field|__"Layout 1" layout|___"Title" Text field|___"Layout 1…
Pro
Sub Field Value from the Last ACF Repeater Row in Bricks

Sub Field Value from the Last ACF Repeater Row in Bricks

Getting the value of a specific sub field of an ACF Pro‘s Repeater field and output in the query loop.
Categories:
Tags:
Pro
Post-specific ACF Repeater Galleries as Sliders in Bricks

Post-specific ACF Repeater Galleries as Sliders in Bricks

How to output ACF Repeater field rows with the images of the Gallery-type sub field as a slider.
Pro
ACF Options Fields in Bricks

ACF Options Fields in Bricks

This Pro tutorial walks you through outputting the values of custom fields attached to an ACF Pro's Options page in Bricks builder. We shall register…
Categories: