Skip Navigation

[Resolved] Need to do the same as with ACF Post Object Field

This support ticket is created 3 years, 9 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 3 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1992127

I have 2 post types, one named escorts and one named rates. When adding a new escort I want to be able to choose a post from rates for the escort. With ACF that is done simply by using a Post Object Field, but I cannot figure out how to do it with Toolset.

For example, the post names in rates are Bronze, Silver, Gold

When I now add a new escort I want to add a field where I can select the rate and that field will then display the post names from rates (Bronze, Silver, Gold) so that I can select which rate applies.

#1992321

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alexander,

Thank you for getting in touch.

This would be Custom Fields, to create custom fields go to Toolset -> Custom Fields and create a custom field group. Here is a short tutorial on how to create the custom fields.
https://toolset.com/course-lesson/creating-custom-fields/

Using the custom fields you should be able define the Rates Bronze, Silver, Gold and then select which one applies to the post when it is being created.

Please let me know if this helps.
Thanks,
Shane

#1992483

For whatever reason your answer that I got per email, doesn't show up here. I am going to reply to it anyway.

As I said, I already have those 2 custom post types. I really do not know how to explain it any more detailed than I already did. I try again.

I have 2 CPT's (Escorts, Rates) both have custom fields. Now I want to add a custom field to Escorts showing the Rates that I created, so that I can just select one of those.

Until now, I used ACF for this and there is the Post Object Field which does this. hidden link here it explains what it does.

I would like to know how to do this with Toolset and if this is not possible then basically Toolset is useless for me and I have to return to ACF.

I found some old posts like this one from 2016, https://toolset.com/forums/topic/is-it-posible-to-create-a-custom-field-for-post-object-selection-as-in-acf/ where it was said Toolset doesn't have that functionality. But since I see many people asked for it and that was 5 years ago I hope by now it was added.

#1992531

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alexander,

I have more clarity on the case now. What you should be looking at is the Post Relationship where you can Attach the rating to the Escort in a relationship.

It functions similar to the Post Object field in ACF. We do have a Post Reference field but I would recommend using the Post Relationships in order to connect the 2 post types. Have a look below for our documentation on this.

Here is the documentation for the Post Reference field.
https://toolset.com/course-lesson/using-post-reference-field-to-set-up-one-to-many-relationships/

Here is the documentation for the Post Relationship setup.
https://toolset.com/course-lesson/how-to-set-up-post-relationships-in-wordpress/

Please let me know if this helps.
Thanks,
Shane