• Resolved phatman

    (@phatman)


    Hi, is it possible to change the field label names? I’m using it for reviews so want to use ‘Review’ instead of Comment

    Thanks!

    • This topic was modified 1 year ago by phatman.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help. There is no “Comments” field/label, do you maybe mean “Content”..?

    Thread Starter phatman

    (@phatman)

    Sorry, yes content

    Plugin Author Jeff Starr

    (@specialk)

    Ok thanks. Basically there are two ways to do it. The recommended way is to enable the custom form and change any labels as needed. There are steps for this under the plugin’s Installation tab here at ww.wp.xz.cn. Alternately you can add a bit of jQuery to change the label name on the fly. You would need a way to add custom JavaScript via your theme or another plugin. If you’ve got that let me know and I will share a snippet that can do it.

    Creativemind18

    (@jobsgivers)

    @ Jeff Starr

    Kindly share the snippet please, as promised to phatman. I have also been stressing myself for months looking for this solution.

    I already have a way to add custom JavaScript to my site, please share the snippet with me.
    Thanks

    Plugin Author Jeff Starr

    (@specialk)

    @jobsgivers Try this snippet:

    <script>
    document.addEventListener('DOMContentLoaded', function() {
    const uspLabelContent = document.querySelector('.usp-content label');
    if (uspLabelContent) {
    uspLabelContent.textContent = 'Whatever';
    }
    });
    </script>

    Replace “Whatever” to whatever you want to use as the label text.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Change label names’ is closed to new replies.