Is it possible to achieve a dynamic list (ul > li) with Bricks/Metabox?
Scenario: I have a CPT called ‘Products.’ Each product will have 3-5 benefits that I would like to display in a list. I’ve set up the Product (single post) template and gotten all of the fields populating correctly, but I can’t achieve the desired outcome for lists.
I’ve tried various custom field types. The ‘text list’ custom field type, but it outputs like so:
Benefit 1 Benefit 2 Benefit 3
.
The WYSIWYG editor works but can’t be styled (no way to add custom CSS classes).
I’ve tried using a query loop with a field group, but that separates each list item into separate container divs.
I have the same problem, there seems no solution available yet.
On Bricks Academy it is not really described how it works, to have a repeatable/cloneable field inside a cpt-loop with Metabox.
Who can help to solve this issue and give exact instruction on how to define the “loop inside the loop” for the repeatable/cloneable field?
Solved the problem with repeatable fields inside a cpt-loop with Metabox:
You have to create a GROUP field (extension needed) first for the repeatable field.
And make this group cloneable.
Then inside the group you define the field that needs to be displayed in Bricks.
Because only groups can be choosen as Type/Source in a Bricks CPT loop (with Metabox)
Then it works
Here are the relevant screenshots (to use it for yourself)
CPT Custom Fields setup for Group and Subfields (inside group):