aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
blob: fdf571a19e4ef8abe6b5cd2bd4104b828280cd02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
printf(
    '<section class="col-sm-12">
        <h3 class="comment-title">' . __('Comments', 'Lidra') . '</h3>
        <div class="comentarios">');
    printf('<ul class="commentlist">');
        wp_list_comments();
    printf('</ul>');

        $comments_args = array(
        // change the title of send button
        // 'label_submit'=>'Send',
        // // change the title of the reply section
        // 'title_reply'=>'Write a Reply or Comment',
        // // remove "Text or HTML to be displayed after the set of comment fields"
        // 'comment_notes_after' => '',
        // redefine your own textarea (the comment body)
        'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label><textarea id="comment" name="comment"></textarea></p>',
        );
        comment_form($comments_args);

printf('</div>
    </section>'
);