[Resolved] Change "Post Title" column header text in Post Relationship box
This support ticket is created 6 years, 6 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.
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.
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).
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.
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.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.