aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
blob: c1d71839d638e08abe49f0a5a15f784b8427108d (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
25
26
27
<?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>');

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

        $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>'
);