Tell us what you are trying to do?
I'm trying to change the default names for "Post Name", "(Post) Title", "(Post) Content" and "(Post) Excerpt" labels but to no avail I couldn't find the settings, not even under Form Messages settings. I wish I could change the text labels so it would appear customized on the form front-end along with other custom fields but I do not know to achieve that.
I tried to find under Post Types and Custom Fields, still no luck. I was thinking if there is code snippets that could change those default labels that I could paste as custom code.
Here's the image example I posted below marked with numbered red box that I wish to rename to any label I want.
Maybe Toolset development teams can produce these feature in the future. It would be amazing if user can change those default wordpress label under Form Messages too. Thank you.
Hello,
1) "Post Name" in error message, it is hardcoded in the Toolset form plugin, file \plugins\cred-frontend-editor\application\controllers\form_rendering.php, line 1116:
$message = str_replace( "post_title", "Post Name", $message );
I don't think there is an easy way to change it, if you agree we can take it as a feature request, our developers will evaluate it.
2) "(Post) Title", "(Post) Content" and "(Post) Excerpt" labels ...
Please edit your post form, in section "Content", you should be able to change those label text manually, for exmaple:
<label>My custom Post Title</label>
[cred_field field="post_title" class="form-control" output="bootstrap"]
1) I don't think there is an easy way to change it, if you agree we can take it as a feature request, our developers will evaluate it.
Yes, please forward it as a feature request in the future. I guess I have to use "Post Name" for now. I wish there is other way to change that.
2) "(Post) Title", "(Post) Content" and "(Post) Excerpt" labels ...
Please edit your post form, in section "Content", you should be able to change those label text manually, for exmaple:
Sorry for not very specific, what I meant originally was those marked yellow highlighted red text(see image above) is the "error message" that I was aiming for to rename or change. It would appear as "default" names eventhough I've changed the Form Labels.
It would be great if I could rename the "default" error message which is "CPT - Pemilik Perniagaan Title" into something more label-friendly like "Pemilik Perniagaan Name" , etc and so on. Also, I hope this can be achieved using custom code and it would be applied to other Forms too. Thank you.
Thanks for the details, for the text "Post Title" in your screenshot
hidden link
There isn't option to change it, see our document:
https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field
Same as above, we can take it as a feature request.