Skip Navigation

[Resolved] Add custom field to dropdown connection relation title

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 simchaH 8 months, 1 week ago.

Assigned support staff: Luo Yang.



When I go to a post in one of my custom post types, and I want to connect it to another post and create a relationship, I have an issue. Since some of the related posts are duplicated names, the title of the same exact name will show up, and I don't know which to select. Example: Custom Post Type is "Person", there can be 2 people with the same name "John Doe". When I go to connect, it only shows the title which is the persons name - John Doe - so I don't know which is correct.

I have a solution, but I am not sure if it is simple? Each Person post has their own unique address custom field, if I can have the address field display together with the title of the post (IE the persons name), then I will always be able to see which is the correct Person to connect in the relationship. Is there any way to accomplish this?

Thank You,


Luo Yang

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)


There isn't such kind of built-in feature within Toolset plugins, you can add a feature request for it:
Our developers will evaluate it

Currently, you might consider to add the "unique address custom field" into post title.
For example, after user save the post, use action hook "save_post" to trigger a PHP function

in this PHP function get the "unique address custom field" value, and change the post title.

More help:


My issue is resolved now. Thank you!