I am trying to:
Filter a view on a custom user field 'id-werkeger' tot show only those field in te view where the CPF 'werkgeversnummer-otib' is the custom user field 'id-werkgever'
Thank you for contacting Toolset support. From your description I can understand that you want to create a User view and apply Query filter on custom user field. I have attached the screenshot, please match it with your view.
If you are not able to achieve this, please provide complete screenshot of the view, link to the page where you have inserted this view and backend screenshot of the custom user field.
No I don't need a user view but a view on the CPT 'werkgevers' . This CPT has a field 'werkgeversnummer-otib'. I want to filter the view so the loggedin user sees only the posts that equals the user metafield "id-werkgever' with the CPT field "'werkgeversnummer-otib'.
Ok I can try on that, can you please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and check the issue.
Your next answer will be private which means only you and I have access to it.
=== Please backup your database and website ===
✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.
Thanks for sending the login info. But the page is not working, when I open it shows a “Sorry” no page found message. Also I am not sure which page or View you are using at moment.
This is conditional method & syntax you need to use for the required conditions as you have asked for:
Is it also posible to show a page from the view. So the page only shows the information of the user who's filtered by the conditional in the view like before?
For the above question, I am bit confused that what you are trying to achieve, do you want to insert any page inside view?
Please explain in more detail with screenshot and link of the page and view.