Custom Field is Current User
-
Hi and congratulations for you plugin!
Please put some light on a new user. I’m using Astra Theme and Elementor Pro.
My intention is to filter all posts based on relational field type created with ACF (user) and to show on a specific page just the posts assigned to him when is logged-in.
So far so good, I’ve tried this:
Advanced Query Options – Dynamic User
Dynamic User Options – Custom Fields Contains Current User
User Data to Compare – Username
User field Name – field_xxxxxxxxxx (from ACF)
This should show to the currently authenticated user all posts that have in the custom field his username I assume.
Am I doing something wrong?
In ACF return format should be User Array or User Object or User ID?
Could you please help me with this request?
All the best & thanks in advance!
- The topic ‘Custom Field is Current User’ is closed to new replies.