This was helpful, and took me awhile to get.
I’m doing something similar.
I have a list of staff members as custom post type
Each staff member makes a monthly book pick – also a custom post type called staffpicks
ACF is running on staffpicks with a custom object field relating back to the staff member who picked it.
When using the post object field – even though the post object field will show the title of the post in the select box (which is convenient…thanks), it’s actually saving the post ID of that related post object in the database.
So when we run the meta query we have to use a value of post id – not the title of that post.
Am i getting that right?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!