1 <?php
if(comments_open()): ?
>
2 <section
class="comments">
4 <h1
><?php
echo total_comments() . pluralise(total_comments(), ' comment'); ?
> <a href
="#comment" title
="Contribute to the discussion!">Add your own
</a
></h1
>
6 <?php
if(has_comments()): ?
>
7 <ul
class="commentlist">
8 <?php
while(comments()): ?
>
9 <li
class="comment" id
="comment-<?php echo comment_id(); ?>">
10 <h2
><?php
echo comment_name(); ?
></h2
>
11 <time
><?php
echo relative_time(comment_time()); ?
></time
>
14 <?php
echo comment_text(); ?
>
21 <form id
="comment" class="commentform" method
="post" action
="<?php echo current_url(); ?>#comment">
22 <legend
>Add your comments
</legend
>
24 <?php
echo comment_form_notifications(); ?
>
27 <label
for="name">Your name
:</label
>
28 <?php
echo comment_form_input_name(); ?
>
32 <label
for="email">Your email address
:</label
>
33 <em
>Will never be published
.</em
>
34 <?php
echo comment_form_input_email(); ?
>
38 <label
for="text">Your comment
:</label
>
39 <?php
echo comment_form_input_text(); ?
>
43 <?php
echo comment_form_button(); ?
>