Now you need to replace param with the correct shortcode parameter name and the wpcf-year with the correct slug for the custom field. You should add the slug with the wpcf- prefix attached.
This support ticket is created 6 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
I have a view listing users. Now I have added a new user custom field, indicating the group each user belongs.
I need to filter users by the value of current user's custom field ie list only the users of the group that current user belongs. Please see Query Filter section at attached image. I am not sure which attribute to use. Any ideas?
Right but I would like to know if its a value from the user you want to use to filter the view.
Also if there is a custom field on that post that matches the value on the user. Also is it the current user custom field being used to filter the View ?
I Dont think we will be able to filter the posts based on a user's custom field if there isn't anything on the post that matches the value in the user field.
Thanks,
Shane
If I use the setting shown in uploaded image, I get what I want.
I just need "2017" to come from current user's wpcf-taster-group field.
Is this possible?
Now you need to replace param with the correct shortcode parameter name and the wpcf-year with the correct slug for the custom field. You should add the slug with the wpcf- prefix attached.