• Following code will modify your comment form title and will add some text below it. Change the text as per your need. Add following code in functions.php.

    /** Edit comments form text **/
    function modified_comment_form_args($args) {
        $args['title_reply'] = 'Tell us what you\'re thinking...';
        $args['comment_notes_before'] = ' <p class="comment-policy">All comments are moderated.</p>
        <p class="required"><small>* Denotes required field.</small></p>';
        $args['comment_field'] = '<p class="comment-form-comment">' .
        '<textarea id="comment" name="comment" cols="45" rows="8" tabindex="4" aria-required="true"></textarea>' .
        '</p><!-- #form-section-comment .form-section -->';
         return $args;
        }
        add_filter('genesis_comment_form_args', 'modified_comment_form_args');

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 1 replies (of 1 total)
  • These forums are not the place to post your fixes for a commercial theme. Please use your own site for this.

Viewing 1 replies (of 1 total)
  • The topic ‘Edit Comment Form in Genesis’ is closed to new replies.