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 633 Bricks code tutorials with BricksLabs Pro

Related Tutorials..

Pro
Configuring Image Gallery dynamic source in Bricks

Configuring Image Gallery dynamic source in Bricks

Let's say you have a custom field created with ACF Pro of the type Gallery called "Property Gallery" for posts of "Property" CPT. In the…
Pro
ACF Repeater Row Count Condition in Bricks

ACF Repeater Row Count Condition in Bricks

This Pro tutorial provides the steps to output elements on single posts (of any post type) in Bricks only if a specific ACF Repeater-type of…
Categories:
Pro
ACF Repeater sub field value dynamic data condition in Bricks

ACF Repeater sub field value dynamic data condition in Bricks

This Pro tutorial provides the steps to output an element on single posts (can be of any post type) only if a specified ACF (Pro)…
Pro
Upcoming Events with ACF Date Sub field Repeaters grouped by Month Years in Bricks

Upcoming Events with ACF Date Sub field Repeaters grouped by Month Years in Bricks

In the comments section of Upcoming Events Accordion in Bricks Grouped by 'Month Year' a member asked: CPT: eventACF Field: event_dates (Repeater) with event_date sub…
Categories: