Categoría: ACF BRICKS NESTED QUERIES PLUGINS PRO
-
ACF Post Object Query Loop inside a Posts Query Loop in Bricks
Consider this ACF field group for a “Publication” CPT: Field label: Related PostsField type: Post ObjectSelect multiple: on Each Publication CPT post can have 0 or 1 or more related posts. The objective is to loop through the publication posts and within each publication, output a list of related posts. Like this: The power of…
-
Related Services grouped by Service Categories on Single Branch Posts in Bricks
A user asks: I need help please, with querying an ACF relationship field on a single CPT template. Here’s the scenario: I have two Custom Post Types (CPTs) – “Branches” and “Services”. These two CPTs are linked by an ACF relationship field, allowing me to choose which services are related to a branch and vice…
-
Events grouped by Event Date custom field in Bricks
This Pro tutorial for Bricks users provides the steps to output posts of an event custom post type dynamically grouped by the value of their event_date, a date-type custom field (tested with ACF, should also work with other custom field plugins). Sample data: Event 1: 7 Jul 2020 Event 2: 30 Oct 2018 Event 3:…