Skip Navigation

[Resuelto] change title default to something else. ?

This support ticket is created hace 6 años, 4 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Etiquetado: 

Este tema contiene 7 respuestas, tiene 2 mensajes.

Última actualización por Akhil hace 6 años, 4 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#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 .

Los hilos nuevos creados por Luo Yang y vinculados a este se encuentran a continuación:

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

#951078
#951337

thanks. will follow up there.