Change Language Text
-
I would like to change a couple labels. Right now you have Post Title as the default post title. How can I change that verbiage?
-
Glad to help.
There isn’t a setting for it, but it can done by either setting up the custom form and making changes there, or by adding the following snippet of jQuery:
<script>
jQuery(document).ready(function(){
jQuery('.usp-title label').text('Whatever');
});
</script>Then change “Whatever” to whatever you would like the label to display.
That’s great.
Where can I find all the codes for all the form entries?
I’m not sure what you mean.. “all the codes for all the form entries” ..can you be more specific and I will try to provide accurate information asap, thank you.
So all the fields in the form. Where can I find those codes so that I can change the text in those existing fields. There are only 2 custom forms and I can see those codes to use but what about the existing fields?
Here is a snippet to change all of the form labels:
<script>
jQuery(document).ready(function(){
// post author
jQuery('.usp-name label').text('Whatever');
// author email
jQuery('.usp-email label').text('Whatever');
// author url
jQuery('.usp-url label').text('Whatever');
// post title
jQuery('.usp-title label').text('Whatever');
// post tags
jQuery('.usp-tags label').text('Whatever');
// custom field 1
jQuery('.usp-custom label').text('Whatever');
// custom field 2
jQuery('.usp-custom-2 label').text('Whatever');
// challenge question
jQuery('.usp-captcha label').text('Whatever');
// post categories
jQuery('.usp-category label').text('Whatever');
// post content
jQuery('.usp-content label').text('Whatever');
// post images
jQuery('.usp-images label').text('Whatever');
});
</script>Works great for the titles but how do I change the default value text in the field? For example, in the Post Content section, there’s Post Content already in the text box. I want to change that default value.
Best advice is to just set up the custom form, then you can change all the label and input/field placeholder text as needed. I.e., currently there are no snippets for the placeholder texts but I will work on creating some for you. In the meantime check out the Installation page for steps to set up the custom form if needed. It would enable much more flexibility in terms of customizing going forward.
Where do you create custom forms? Is that a pro feature? Also, will that data be sent to Posts like they do now?
The free version provides a custom form feature that enables you to tweak details in the form like labels, placeholders and so forth. You can find steps to set it up in the plugin documentation, look for the section titled “Custom Submission Form”. And yes, both the default form and custom form submit posts the exact same way.
Do you have a feature to create a new drop down in the form? IF the free version does not have it, does the pro version?
Yes but we’re not allowed to discuss pro versions here at WordPress.org, it is against the rules. I am more than happy to answer any pro questions if you want to reach out via my contact form. I will try to respond asap, thank you.
The topic ‘Change Language Text’ is closed to new replies.