Skip Navigation

[Resolved] I need the ability to search/select a user in a form – to add it to a post type.

This support ticket is created 5 years, 7 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
- 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 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#1309125

Tell us what you are trying to do?
I am wanting to give front end editing of a post by selecting a user profile page to be assinged.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#1309127

Hello,

I assume we are talking about a Toolset form for editing post, if it is, I suggest you try these:
1) Create a custom post type "user profile", each "user profile" post's author is different user, one user can have only one "user profile" post.

2) Setup one-to-many relationship between "user profile" and your custom post type,
https://toolset.com/documentation/post-relationships/

Then you will be able to add a relationship field into your edit post form, and relate it with an "user profile" post.
https://toolset.com/documentation/post-relationships/selecting-parent-posts-using-forms-create-child-items/

More help:
https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/