Skip Navigation

[Resolved] change title default to something else. ?

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

Last updated by Akhil 6 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#923822

hi., in the custom post relationship -, many -to-many i have 2 fielsd.

name [single line ] and type [single line ] , - its fine,
the issue is there is default title box for this. so i have to remove the name and USE the default title box as name, its fine too .. but how do i rename the title into 'name' ? its strange if i have field that says ,title - type.

thanks.

#923827

i think option to hide the title would be good, but its not working for now.

#923940

Hello,

There isn't option to hide the post title field, but you can try to change the text Title to what you want using WordPress filter hook "gettext", for example, add below codes into your theme:

add_filter('gettext', function($translated_text, $untranslated_text, $domain){
	if($translated_text == "Title" && $domain == 'wpcf'){
		$translated_text = 'Name';
	}
	return $translated_text;
}, 20, 3);

More help:
https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext

#948147

Hi Luo , this is for all cpt ?
suggestion is give option to rename the default title to prefered title so that we dont need to add field 2x .

example

RFG : Nearby Coffeeclub
title : Starbucks
custom field _name: starbucks.
custom_field_distance : 200 m

as you can see end user need to enter "starbucks" twice. which is not productive.

#948236

Yes, you are right, this is for all cpt

As I mentioned above: there isn't option to hide the post title field, if you agree, we can take it as a feature request, our developers will evaluate it. thanks

#950465

yes pls . submit as request .

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/split-change-title-default-to-something-else/

#951078
#951337

thanks. will follow up there.