“Custom Field Contain Current User” doesn’t work
-
Hi,
Here’s my setting:
With ACF I created a custom post type called “course”.
Within it, I created a custom field called enrolled_users (it’s a Users field, bidirectional with custom field related_courses, Return Format: User ID, Select Multiple ON)
I created a custom field called related_courses, with the display condition “User role is equal to all”. This field is a Relationship field, bidirectional with custom field enrolled_users, Return Format: Post ID.
Now, in the “My Courses” page, I added an Elementor Loop Grid with Courses as Source, and the following Advanced Query Options:
- Dynamic User Options: Custom Field Contains Current User
- User Data to Compare: User ID
- User Field Name: enrolled_users
This setting doesn’t show any element in the Loop Grid.
How do I fix it?
- You must be logged in to reply to this topic.