Support » Plugin: User Submitted Posts » Changing “Post Content”

  • Resolved Yunis777

    (@yunis777)


    Hi,

    How can i change the descriptive text to tell the user what they must enter?
    In other words, I would like to change the text “Post Content” and the placeholder “Post Content” to something more suitable. In fact, they could even be removed.
    See screenshot: https://postimg.cc/K19D2V4v
    How can I do this? I don’t have experience with CSS.

    Kind regards,

    Yunis

    • This topic was modified 2 months, 3 weeks ago by  Yunis777.
Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Jeff Starr

    (@specialk)

    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

    Plugin Author Jeff Starr

    (@specialk)

    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

    Plugin Author Jeff Starr

    (@specialk)

    Open it and edit as you like.

    Plugin Author Jeff Starr

    (@specialk)

    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

    Plugin Author Jeff Starr

    (@specialk)

    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:

    1. 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.
    2. Inside of the file, take a look around and get a basic idea of scope, structure, and contents.
    3. Now find the <label> tag or placeholder attribute that you want to change. And change it.
    4. Save the file and upload to your server.
    5. 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 2 months, 3 weeks ago by  Yunis777.
    • This reply was modified 2 months, 3 weeks ago by  Yunis777.
    Plugin Author Jeff Starr

    (@specialk)

    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

    Plugin Author Jeff Starr

    (@specialk)

    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?

    Plugin Author Jeff Starr

    (@specialk)

    It depends……….. are you using the Visual/RTE editor or regular plain textarea?

    I think I’m using regular plain textarea.

Viewing 15 replies - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.