Tipp: How to Meta Query for ACF Bi-Directional Query

OK, try this approach:

  1. Make a normal query, but select the Query Editor.

  2. In the Query Editor, type this code and replace the post_type ‘chochete’ in line 2 with your desired post type and replace the key ‘chochete_rezepte’ with your ACF Relationship Field:

return [
 'post_type' => 'chochete', 
 'posts_per_page' => -1,
 'meta_query'        => array(
     array(
            'key'       => 'chochete_rezepte',
            'value'     => '"' . get_the_ID() . '"',
            'compare'   => 'LIKE'
        ),
       ),
  'order' => 'ASC',
  'orderby'=> 'date', 
];

Make sure, that ‘Posts’ is selected as the Query Type:

In the frontend, Bricks should now show the found posts:

Rel3

Cheers

Patric