Skip Navigation

[Resolved] Change "Post Title" column header text in Post Relationship box

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

Last updated by Minesh 7 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#577784
post-title-post-relationship.png
post-title.png
post-relationship-text.png

Hello,

I'm creating a simple, but specific CRM for a client. I have a CPT "Companies" and a CPT "Contacts." Contacts in a child of Companies. For Contacts, I use the post title for the contacts name.

When editing a company, in the Post Relationship box, the heading for contacts name is the default "Post Title." I would like that column header to display as "Contact Name." Is this possible? Perhaps using a PHP function?

Optionally, but less desirable, are there any issues to not use the Post Title and default Editor (Content) fields and use custom fields for Contact Name and Details? I've always used the standard post title and content areas, but perhaps what I want to do is easier if I only use custom fields - I just don't know if I'll run into other issues admin lists, output, etc.

Also, is it possible to change the "Post Relationship" text to something custom (see attached images).

Thanks for help and advice.

- Peter

#577800

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - there is no such feature available for now to change the column name within the post relationship table. I suggest the best way to change the column title is to using jQuery/Javascript. you should add custom jQuery code and target the element and add your require text.

#577922

I don't know how to do what you suggest. Any advice?

And you did not answer my second question about the option of not using post title and content area vs. using all Types-generated post fields.

The third question I'll just let pass at this point.

#578065

Minesh
Supporter

Languages: English (English )

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

Well - that needs custom JS code. If you agree I can help you with that but I need access details to change the post title.

Also, regarding your 2nd question, if you do not want to use post title and post content, then you should just deselect post title and Editor by editing your post type and from section "Sections to display when editing {your-post-type}" and save your post type.