Skip Navigation

[Resolved] Best way to associate (relationship) users with CPT with toolset?

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

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 6 years, 12 months ago.

Assisted by: Minesh.

Author
Posts
#591050

What's the best way to associate (relationship) users with CPT with toolset?
I have a CPT "events".
Users can "join" in event post.
Users can have several events, events can have several users.

#591101

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - there is no way to create relationship between user and CPT.

You may try to use post author as you will have post author connected to each post. OR create a new CPT for users and try to build post relationship as instructed by our Docs:
=> https://toolset.com/documentation/user-guides/creating-post-type-relationships/
=> https://toolset.com/documentation/user-guides/many-to-many-post-relationship/