Home › Forums › Front-end Issues › Field Type "User", only show the posts that the "User" is selected › Reply To: Field Type "User", only show the posts that the "User" is selected
Thanks Elliot, however I’m having a really difficult time putting this all together, my custom post type is ‘caregiver-updates’ and the advanced custom field that selects the user name is ‘user_id’…
What I need to happen is if the user is logged in it will show all the custom post types of ‘caregiver-updates’ that have the advanced custom field user name ‘user_id’ selected, so somehow check if current user id logged in matches the custom field ‘user_id’ and then pull just those posts, please advise. Thank you so much!!!!
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!
© 2022 Advanced Custom Fields.