Glad to help. It is possible to do this using the custom form. That way you can tweak the details like labels, placeholders, and more. Check the plugin docs for complete steps for the custom form.
Hi,
Where is the “plugin docs” to complete steps for the ‘custom form’?
Regards,
Yunis
Under the Installation tab, scroll down to “Custom Submission Form” to find it.
Hi,
I’ve copied the files usp.css and submission-form.php into my theme and changed plugin’s setting to “Custom Form + CSS. How do I customize the form now?
Regards,
Yunis
Open it and edit as you like.
Note: do not change any of the input names, ids or classes. Just about everything else you can change though.
Hi,
Open it. What file are you referring to with “it”?
Regards,
Yunis
You make a good point, I need to add an example that shows how to actually make changes to the form. So here goes.
First understand the purpose of each file:
usp.css — this is a CSS file, used to change appearance, like colors, font sizes, margins, et al.
submission-form.php — this is a PHP file, it uses scripted language to output dynamic content. You’ll notice code wrapped in <?php tags, stuff like variables and simple logic. This file also uses HTML to provide form structure, for example you will notice tags such as <label>, <input>, and <p>
Now for what you were asking about, changing labels and placeholders, follow these steps:
- Open the PHP file in a code editor or plain-text editor (do not use any rich-text processor like Microsoft Word. Plain text or code editor only.
- Inside of the file, take a look around and get a basic idea of scope, structure, and contents.
- Now find the
<label> tag or placeholder attribute that you want to change. And change it.
- Save the file and upload to your server.
- Visit the form in a browser and test thoroughly.
Note: unless you are comfortable with editing code you may want to hire a pro. But of course one of the great things about WP is that it is within reach for just about anyone. I hope this helps, will also add this to the Installation docs in the next plugin update. Cheers.
Hi,
I donwloaded the file “submission-form.php” and nowhere could I find the tags “<label>” and “<input>”.
https://pastebin.com/E0AQQpnD
Just keep in mind that all I want to do is remove the “Post Content” strings near the input box provided by your free plugin.
Regards,
Yunis
-
This reply was modified 7 years, 2 months ago by
Yunis777.
-
This reply was modified 7 years, 2 months ago by
Yunis777.
Try searching the file for “Post Content” should be able to do that.
Hi,
If i want to remove “Post Content” strings rather than change them, how do I do that?
Regards,
Yunis
It depends are you using the Visual/RTE editor or regular plain textarea?
How can i remove the field label “Post Content” and the placeholder “Post Content” using a text wditor such as
Windows Notepad?
It depends……….. are you using the Visual/RTE editor or regular plain textarea?
I think I’m using regular plain textarea.