comments.php 956 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. printf(
  3. '<section class="col-sm-12">
  4. <div class="comentarios">
  5. <h6 class="page-libre">no_title</h6>');
  6. printf('<ul class="commentlist">');
  7. wp_list_comments();
  8. printf('</ul>');
  9. // printf('<div>');
  10. // comment_form();
  11. // printf('</div>');
  12. $comments_args = array(
  13. // change the title of send button
  14. // 'label_submit'=>'Send',
  15. // // change the title of the reply section
  16. // 'title_reply'=>'Write a Reply or Comment',
  17. // // remove "Text or HTML to be displayed after the set of comment fields"
  18. // 'comment_notes_after' => '',
  19. // redefine your own textarea (the comment body)
  20. 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label><textarea id="comment" name="comment"></textarea></p>',
  21. );
  22. comment_form($comments_args);
  23. printf('</div>
  24. </section>'
  25. );