Change title and add text to comment form

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5021
    Frank Wiedenbeck


    i wannt to change the header title and sub title of the comment form. And i also want to add “*” to Name & EMail. How can i do that please help? I also want to change the background colour of it.

    Check up the link of the image below:

    Thxs for help!


    Replace the text values of the code below (ex. “Comment Form Title”) then add it on your Child Theme’s functions.php

    function ra_comment_form_defaults( $defaults ) {
         $defaults['title_reply'] = 'Comment Form Title';
         $defaults['comment_notes_before'] = 'Comment Form Text';
         return $defaults;
    add_filter( 'comment_form_defaults', 'ra_comment_form_defaults' );

    To add those asterisks, go to the admin area Settings -> Discussions
    then check the Comment author must fill out name and e-mail option.

    To change the background color, add this on the theme’s Custom CSS option. Replace the color white (#FFF) with your chosen color.

    #respond.comment-respond {background-color: #FFF;}

    Read these posts for further info on customizing your theme:

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WordPress Themes’ is closed to new topics and replies.