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

Related Tutorials..

Pro
Outputting ACF Repeater’s Sub Fields

Outputting ACF Repeater’s Sub Fields

This Pro tutorial provides the code for printing custom HTML after looping through rows of a ACF Repeater (available in ACF Pro) that has a…
Categories:
ACF Repeater Sub Field Values as Tabs in Bricks

ACF Repeater Sub Field Values as Tabs in Bricks

Bricks' query loop supports ACF Repeaters and Meta Box Groups out of the box besides posts, users and terms. This tutorial shows how we can…
Categories:
Tags:
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: