Skip Navigation

[Resolved] filtering user view for current user

This support ticket is created 6 years, 8 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 1 reply, has 1 voice.

Last updated by eliseD-2 6 years, 8 months ago.

Author
Posts
#624428

I am trying to create a view where a logged in user would only see content if a particular custom user field in their own record matched the filter.

I have been able to set up the filter:

Select items with field:
wpcf-board-status is a string equal to Yes

This makes sure the view only shows the user records for Members of the Board.

However- I want each Board Member to only see their OWN information - so how do I ALSO filter for the logged in user only?

I know I can filter a regular view to be only posts that belong to the logged in user - but I don't see that option for User views!

Thanks.

Elise

#624432

Never mind! I figured out that when I called the view, I could use a shortcode parameter making the UserID match the logged in user.
Thanks!
Elise