Skip Navigation

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

This support ticket is created 6 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.

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.

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)

This topic contains 3 replies, has 3 voices.

Last updated by ScottM9386 6 years, 1 month ago.

Assisted by: Beda.

Author
Posts
#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

Languages: English (English ) Spanish (Español )

Timezone: 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!