WordPress at a glance
Home Functions Template Tags Comments

Comments (category)

cancel_comment_reply_link()

Display HTML content for cancel comment reply link.

comment_author()

Displays the author of the current comment.

comment_author_email()

Display the email of the author of the current global $comment.

comment_author_email_link()

Display the html email link to the author of the current comment.

comment_author_link()

Display the html link to the url of the author of the current comment.

comment_author_url()

Display the url of the author of the current comment.

comment_author_url_link()

Displays the HTML link of the url of the author of the current comment.

comment_class()

Generates semantic classes for each comment element.

comment_date()

Display the comment date of the current comment.

comment_excerpt()

Display the excerpt of the current comment.

comment_form()

Outputs a complete commenting form for use within a template.

comment_form_title()

Display text based on comment reply status.

comment_ID()

Displays the ID of the current comment. Uses in a comments loop.

comment_id_fields()

Output hidden input HTML for replying to comments.

comment_reply_link()

Displays the HTML content for reply to comment link.

comment_text()

Display the text of the current comment.

comment_time()

Display the comment time of the current comment.

comment_type()

Display the comment type of the current comment.

comments_link()

Display the link to the current post comments.

comments_number()

Display the language string for the number of comments the current post has.

comments_popup_link()

Displays the link to the comments for the current post ID.

get_avatar()

Retrieve the <img> tag with the avatar of a user who is authorized or provided an email address when commenting. Most commonly used in the comments section.

have_comments()

Whether there are comments to loop over.

next_comments_link()

Displays the link to the next comments page.

paginate_comments_links()

Displays or retrieves pagination links for the comments on the current post.

post_comments_feed_link()

Displays the comment feed link for a post.

previous_comments_link()

Displays the link to the previous comments page.

wp_list_comments()

List comments. Used in the comments.php template to list comments for a particular post.