Support

Account

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

  • Hi @elliot

    I have looked over the links you sent as well as researched but I’m having trouble putting it all together, I know how to code into my templates just not having luck getting the code right to do the following…

    Page is called Updates and shows custom post types ‘caregiver-updates’, I have it working fine now that it shows ALL the posts… but I want to only show the posts that are assigned to the logged in user by using the Advanced Custom Field User ‘user_id’, it needs to be dynamic incase a new user is created.

    See Screen shot of the Advanced Custom Field “User(s) to Share this Update” has the Field name of ‘user_id’

    Front end URL to this page is http://caretocontinue.staging.wpengine.com/caregiver-updates/