• OK, I figured out how to do some of the stuff I wanted, but I am seeing that the rest of what I want to do is contained wholly in the comments_form, which I can’t touch.

    Specifically, I want to move p.comment-notes from below the title to below the email entry field.

    I am using the first code provided here:
    https://wordpress.org/support/topic/change-comments-form/
    to re-order the fields … but it doesn’t seem to affect the p.comment-notes text, which remains at the top. So I guess I am using the wrong word. I have tried both
    $comment_notes_field = $fields['comment_notes'];
    and
    $comment_notes_beforefield = $fields['comment_notes_before'];

    What is the correct secret word? Or how can I do this?

    I also want to either have an asterisk beside the Comments label (because that’s required too, right?) or to remove the asterisk from the others and change the text to read ‘all fields required’.

    I can use the second code on that page to change the field labels, to add an asterisk to the Comment label, but I’d prefer to remove the asterisk altogether and change the text to read ‘All fields required’. But I can’t figure out how to change the required text.

    How do I change the ‘Required fields are marked *’ text?

    I have tried using the comment_form_defaults hook, but all I’ve been able to change is the title. Everything else I attempt remains the same, or removes all formatting and just drops it in as plain text.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    I recommend asking at your theme’s support so the theme’s developers and support community can help you with this.

    Thread Starter janew

    (@janew)

    Add: In case it’s a concern, I am removing the url field entirely from the comments form
    p.comment-form-url {display: none; }
    So requiring all fields is just requiring name and email.
    Thanks!

    Thread Starter janew

    (@janew)

    @t-p
    Are these not all WordPress things?
    These are all changes to the comment_form which comes from wp-includes, not the theme. None of it is theme-specific. Is it?
    And it’s twentytwenty theme, which is generated by WordPress as well, sooo…. 🤷‍♀️

    Happy to take it elsewhere, just seems like this is the best place to get the answers I’m looking for. Let me know if I’m wrong.

    Moderator t-p

    (@t-p)

    And it’s twentytwenty theme, which is generated by WordPress as well, sooo….

    twentytwenty theme has it’s own dedicated support forum at https://wordpress.org/support/theme/twentytwenty

    I recommend posting there so the theme’s developers and support community can help you with this.

    Thread Starter janew

    (@janew)

    Done, thanks!

    Moderator t-p

    (@t-p)

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

The topic ‘renovate comments area part 2’ is closed to new replies.