comments.php 902 B

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