Home › Forums › General Issues › Field to display Posts and filter then by the value of a Field? › Reply To: Field to display Posts and filter then by the value of a Field?
Elliot has created a tutorial about querying relationship field here: http://www.advancedcustomfields.com/resources/querying-relationship-fields/
This would be a bit different. A Post Object field holds a single value rather than an array, so this makes it easier. Basically you just need to query the tasks post type with a meta_query to look for the ID of the project.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.