When working on advanced customizations in Bricks, sometimes it is necessary to get a handle of the current single post (of any post type) in which a query loop is present from inside the query loop.
Sample use case: Get the single post's custom field (like ACF Repeater or Meta Box Group) array row corresponding to the loop's counter/index. An application of this will be shared in another detailed tutorial.
This Pro tutorial covers 3 ways of going about this.
Related Posts Grouped by Custom Field Value when using ACF Relationships in Bricks
In the Bricks Facebook group a user asks: Let's summarize the situation. with the CPTs and field groups created using ACF. Requirement: On single locations,…
This Pro tutorial for Bricks users provides the steps to loop through users and inside that, through posts whilst setting the inner query's author parameter…