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

Related Tutorials..

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
CPT Submenu Items in ACF Pro Options Admin Menu

CPT Submenu Items in ACF Pro Options Admin Menu

This Pro tutorial provides the steps to add links to admin pages under an Options page created with ACF Pro. All code mentioned in this…
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:
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
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: