Trying to use ACF Pro and the Posts Looper to output specific posts

Hi there,

I have posts that are assigned to a category ‘Latest Work’.
Within these posts Im using ACF Pro to add fields for Reviews and the review spokesperson.

On my page I want to output posts that only have the ‘reviews’ field filled out.

I have read both these articles https://theme.co/docs/conditions-and-assignments and https://theme.co/docs/acf-pro-and-loopers but nothing seems to be working.

Any help or assistance will be greatly appreciated.

Hello @gemlangley,

Thanks for writing to us.

To display the posts filter by the ACF meta filed you need to use the Looper. I would suggest you please set the Looper provider as Query String now you need to add this query there.

Reviews-Page-Builder-Pro

 posts_per_page=-1&post_status=publish&ignore_sticky_posts=1&post_type=post&meta_key=review&meta_value=&meta_compare=%21%3D&order=DESC 

Hope it helps
Thanks

That’s worked wonderfully. Thank you

Hello @gemlangley,

Glad that we were able to help you. Please feel free to open a new thread if you have any more concerns.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.