Saltar navegación

[Resuelto] Split: change the "Search for a post" text in a relationship form post selector

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

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Este tema contiene 3 respuestas, tiene 3 mensajes.

Última actualización por ScottM9386 hace 6 años, 3 meses.

Asistido por: Beda.

Autor
Mensajes
#1129717

In a relationship form the post selectors have the "Search for a post" placeholder text.

There is no way to customise this, but should be.

#1129719

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Screenshot 2018-10-18 at 09.48.37.png

Example in this screenshot.

I'm re-assigning this to Beda, who handles requests.

#1130507

The String is translatable, so for example, using WPML you could customize it:

'role_placeholder' => __( 'Search for a post', 'wp-cred' ),

This means you'll find it in WPML's string translation under domain "wp-cred".

However it's not else filterable in the Code yet, I proposed a solution to the DEV which they will decide whether or not to implement.

I have added the request itself here to upvote:
https://toolset.com/feature-request/?wpv_post_search=customize+select2+placeholder&wpv_sort_orderby=post_date&wpv_sort_orderby_as=string&wpv_view_count=686737&wpv-wpcf-plugins=CRED
https://toolset.com/feature-request/allow-to-customize-select2-placeholder-text-of-cred-relationship-role-shortcodes/

#1132685

Thank you!