Native ACF repeater loops, enhanced
Sort, filter, limit and re-source the rows of a native Bricks ACF repeater loop, with no custom query type and no code. The same six wildlife rows are reshaped below. In each example the plain Bricks loop is on the left and the enhanced loop is on the right.
Read the setup guideTop threeConfirmed onlyStacked rulesDates and notesOther sourcesNested rowsEvery operatorShow only the top three
A leaderboard from a plain repeater: sort by score, highest first, then cut the list to three rows.
Sort: score, numeric descending
Limit: 3 rows
Native loop: all rows
Puffin
Eagle
Lynx
Fox
Otter
Badger
With the enhancer

Eagle

Badger

Puffin
Show only what is confirmed
Hide the pending rows, then put what is left in order of score.
Filter: status equals active
Sort: score, numeric descending
Native loop: all rows
Puffin
Eagle
Lynx
Fox
Otter
Badger
With the enhancer

Eagle

Badger

Puffin

Fox
Stack several rules together
Up to four rules can be combined, either all of them or any of them. Here only confirmed rows in the South with a score of 9 or more survive.
Match all
status equals active
location.name equals South
score is 9 or more
Native loop: all rows
Puffin
Eagle
Lynx
Fox
Otter
Badger
With the enhancer

Eagle

Badger
Filter on empty values and sort by date
Show only the rows that have a note, oldest date first: Eagle (11 Nov), Fox (13 Nov), then Badger (15 Nov). Rows with blank notes drop out.
Filter: note is not empty
Sort: date, ascending
Native loop: all rows
Puffin
Eagle
Lynx
Fox
Otter
Badger
With the enhancer

Eagle

Fox

Badger
Reuse a repeater from another post
The enhancer can read the same repeater from a different post, a term, a user or the Options page, then apply the same sorting and limits.
Source: another post (7135)
Limit: 3 rows
Native loop: all rows
Puffin
Eagle
Lynx
Fox
Otter
Badger
With the enhancer

Source B Puffin

Source B Eagle

Source B Lynx
Keep parent and child context
Repeaters nested inside repeaters keep working. Each parent row below has its own Dawn and Dusk children, listed in reverse, and every child can still read the parent it belongs to.
Parents: limit 2 rows
Children: reverse order

Puffin
Puffin / Dusk (parent: Puffin)
Puffin / Dawn (parent: Puffin)

Eagle
Eagle / Dusk (parent: Eagle)
Eagle / Dawn (parent: Eagle)
Reference: every operator and source in isolation
The cards below test each sort mode, all fourteen comparison operators and each source on its own, with the exact setting and the expected result for each. Use them to check precise behaviour.
Baseline, sorting and slicing
Baseline order: Puffin, Eagle, Lynx, Fox, Otter, Badger. Scores: 9, 15, 9, 0, 5, 12. Sorting is stable; slicing happens after filtering and sorting.
Native baseline — enhancer off
Enhancer off (native Bricks loop)
Expected: all six source rows, in ACF order.
Puffin
Eagle
Lynx
Fox
Otter
Badger
Reverse order
Enhancer · Sort: reverse order
Expected: Badger first, Puffin last.
Badger
Otter
Fox
Lynx
Eagle
Puffin
Text ascending
Enhancer · Sort: name, text ascending
Expected: Badger, Eagle, Fox, Lynx, Otter, Puffin.
Badger
Eagle
Fox
Lynx
Otter
Puffin
Text descending
Enhancer · Sort: name, text descending
Expected: Puffin through Badger.
Puffin
Otter
Lynx
Fox
Eagle
Badger
Numeric ascending
Enhancer · Sort: score, numeric ascending
Expected: Fox (0), Otter (5), Puffin (9), Lynx (9), Badger (12), Eagle (15).
Fox
Otter
Puffin
Lynx
Badger
Eagle
Numeric descending
Enhancer · Sort: score, numeric descending
Expected: Eagle (15) first, Fox (0) last.
Eagle
Badger
Puffin
Lynx
Otter
Fox
Secondary sort for ties
Enhancer · Sort: score ascending, then name ascending
Expected: Lynx before Puffin, because both score 9.
Fox
Otter
Lynx
Puffin
Badger
Eagle
Date ascending
Enhancer · Sort: date, ascending
Expected: October dates before November dates.
Puffin
Lynx
Otter
Eagle
Fox
Badger
Date descending
Enhancer · Sort: date, descending
Expected: November dates before October dates.
Badger
Fox
Eagle
Otter
Lynx
Puffin
Sort, skip one, take two
Enhancer · Sort: score ascending · Offset 1 · Limit 2
Expected: Otter and Puffin.
Otter
Puffin
All fourteen operators, plus AND and OR
Each example shows a real filtered result. Text comparisons ignore case. Empty means a blank value; the zero score is a real number and is not empty.
eq on status
Enhancer · Filter: status equals active
Expected: four active rows.
Puffin
Eagle
Fox
Badger
neq on status
Enhancer · Filter: status does not equal active
Expected: two pending rows.
Lynx
Otter
contains on name
Enhancer · Filter: name contains "ff"
Expected: Puffin only.
Puffin
not_contains on name
Enhancer · Filter: name does not contain "ff"
Expected: everything except Puffin.
Eagle
Lynx
Fox
Otter
Badger
starts on name
Enhancer · Filter: name starts with "Pu"
Expected: Puffin only.
Puffin
ends on name
Enhancer · Filter: name ends with "er"
Expected: Otter and Badger.
Otter
Badger
gt on score
Enhancer · Filter: score is greater than 9
Expected: Eagle and Badger.
Eagle
Badger
gte on score
Enhancer · Filter: score is 9 or more
Expected: four rows, including both scores of 9.
Puffin
Eagle
Lynx
Badger
lt on score
Enhancer · Filter: score is less than 9
Expected: Fox and Otter.
Fox
Otter
lte on score
Enhancer · Filter: score is 9 or less
Expected: four rows at or below 9.
Puffin
Lynx
Fox
Otter
empty on note
Enhancer · Filter: note is empty
Expected: Puffin, Lynx and Otter (blank notes).
Puffin
Lynx
Otter
not_empty on note
Enhancer · Filter: note is not empty
Expected: Eagle, Fox and Badger (they have notes).
Eagle
Fox
Badger
in on name
Enhancer · Filter: name is in "Puffin, Otter"
Expected: Puffin and Otter.
Puffin
Otter
not_in on name
Enhancer · Filter: name is not in "Puffin, Otter"
Expected: the four other rows.
Eagle
Lynx
Fox
Badger
Nested Group path
Enhancer · Filter: location.name equals North
Expected: Puffin, Lynx and Otter.
Puffin
Lynx
Otter
AND: active and score ≥ 9
Enhancer · Match all: status equals active + score is 9 or more
Expected: Puffin, Eagle and Badger.
Puffin
Eagle
Badger
OR: score < 5 or name = Eagle
Enhancer · Match any: score is less than 5 + name equals Eagle
Expected: Eagle and Fox.
Eagle
Fox
Four rules together
Enhancer · Match all 4: status active + score 9 or more + location.name North + name starts "Pu"
Expected: Puffin only.
Puffin
No matches
Enhancer · Filter: name equals "No such sample"
Expected: no rows. The empty result is intentional.
Source selection
These use explicit field keys and source IDs. The options, user and term labels are deliberately different, so the source is visible in the rendered output.
This page explicitly
Enhancer · Source: this page (post 7092) · Limit 2
Expected: the first two rows of this page's own repeater.
Puffin
Eagle
A different post
Enhancer · Source: another post (7135)
Expected: six rows, all labelled Source B.
Source B Puffin
Source B Eagle
Source B Lynx
Source B Fox
Source B Otter
Source B Badger
Options page
Enhancer · Source: ACF Options page
Expected: two rows, labelled Options.
Options Puffin
Options Eagle
User object
Enhancer · Source: user 1
Expected: one sample row stored on user 1.
User sample Puffin
Term object
Enhancer · Source: term 66
Expected: one sample row stored on the demo category.
Term sample Eagle
Tracked parent context
Enhancer · Source: parent context · Limit 2
Expected: the first two rows from the current page context.
Puffin
Eagle
Invalid source
Enhancer · Source: post 999999999 (does not exist)
Expected: no rows, because the post ID is invalid.
Nested rows and native field rendering
Read the child label beside its parent and root. The complex-field examples deliberately use Bricks native ACF image, gallery, link and WYSIWYG tags alongside the explicit transformed-row text.
Nested repeater context
Enhancer · Limit 2 · child rows sorted in reverse
Expected: two parent rows, each with Dawn and Dusk children in reverse order.
Puffin
Puffin / Dusk | parent Puffin | root Puffin
Puffin / Dawn | parent Puffin | root Puffin
Eagle
Eagle / Dusk | parent Eagle | root Eagle
Eagle / Dawn | parent Eagle | root Eagle
Native complex fields
Enhancer · Limit 2 · native image, rich text, link and gallery tags
Expected: the first two rows, each showing its photo, rich text, link and gallery.
Puffin

Public sample details for Puffin.
Eagle

Public sample details for Eagle.
Complex fields from another post
Enhancer · Source: another post (7135) · Limit 2
Expected: Source B text with the matching photos, links and rich text.
Source B Puffin

Public sample details for Puffin.
Source B Eagle

Public sample details for Eagle.
Diagnostics are visible only to administrators and appear after the loops. These transformations do not add frontend JavaScript or change the stored ACF rows.
Read the full configuration guide