Problem:
I make a directory site for advocates.
I made a custom post type “Avocats” with all their information and the connection between the custom post type and the user profile is made via the author function. The user have got a “Avocat” role
I want that the advocate after login can change their information of this custom post type via a form.
Solution:
Please try these:
1) In the page "fiche-avocat", display a post view:
- Query “Avocats” posts
- Filter by:
Post author is same as logged-in user
- In view's loop, display the Toolset form shortcode:
[cred_form form='fiche-avocat']
Relevant Documentation:
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/
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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
This topic contains 2 replies, has 2 voices.
Last updated by 4 years, 6 months ago.
Assisted by: Luo Yang.