WordPress at a glance
Главная Functions Comments, Pings Comments Loop

Category: Comments Loop 22

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_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_ID()

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

comment_link()

Display the link to the comments.

comment_reply_link()

Displays the HTML content for reply to comment link.

comment_time()

Display the comment time of the current comment.

edit_comment_link()

Displays the edit comment link with formatting.

get_comment_author()

Retrieve the author of the current comment.

get_comment_author_link()

Retrieve the HTML link to the URL of the author of the current comment.

get_comment_author_url()

Retrieve the url of the author of the current comment.

get_comment_class()

Returns the classes for the comment div as an array.

get_comment_date()

Retrieve the comment date of the current comment.

get_comment_excerpt()

Retrieve the excerpt of the current comment.

get_comment_ID()

Retrieve the comment id of the current comment.

get_comment_time()

Retrieve the comment time of the current comment.

have_comments()

Whether there are comments to loop over.