Skip Navigation

[Gelöst] Relationship between CPT and User

This support ticket is created vor 5 Jahre, 2 Monate. 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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 2 Antworten, has 2 Stimmen.

Last updated by viktorI vor 5 Jahre, 2 Monate.

Assisted by: Nigel.

Author
Artikel
#1201939

Hello,
my membership site require relationship between Company (CPT) and User, it's one to many where a company can link to mulitple user.

When i try to create relationship, it's not possible to link Company to User.

Any workaround ?

#1202156

Nigel
Supporter

Languages: Englisch (English ) Spanisch (Español )

Timezone: Europe/London (GMT+01:00)

Hi Victor

You cannot create relationships between users and posts.

To achieve something similar, you need to make "profile" posts for each user (which they are authors of) and then connect those profile posts to other post types.

It is described in more detail here: https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/

#1202492

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.