Home Forums ACF PRO Query CPT by User field custom field Reply To: Query CPT by User field custom field

  • Hi John,

    Thanks for that. I did end up implementing this and it does work if using a Relationship field. If using a User field, it doesnt work.

    Using the Relationship field, Judge 1 can view his profile page and see what competitions he has a “relationship” with, but he can also go to Judge 2’s page and see Judge 2’s “relationships”. What I need to do is somehow allow each judge to only see the competitions they are related to. So if browsing another persons profile page it wouldnt show anything.

    I thought using the User field would allow me to do this because each Judge – which is a CPT entry – is set as the Author as well. But maybe this can be done with the Relationship field as well. Any thoughts on this?

    Thanks again