This tutorial provides several methods which enable you to style or modify the default comment author if they are also the post
Comments
Tutorials in this archive contain code which enables you to create your own list of comments or modify existing comments functions. The code uses get_comments
and WP_Comment_Query
. Other functions included in these tutorials include get_comment_date
, get_comment_link
and get_comment_author_link
.
Conditionally Remove Leave a Comment Link In Genesis
This code enables you to remove the leave a comment link based on the comment count. In this example, the comment link is removed from the
Remove All HTML Tags From Comment Content Text In WordPress
A premium user asked how to remove links from comments which is the reason for publishing this code. Add the following PHP code to your
Remove No Follow From Comment Author Link & Comment Content Text Area Links
The code snippets in this tutorial remove the default rel="nofollow" from links added in the comment content area as well as the comment
Unlink Comments Link On Archives In Genesis
The code in this tutorial unlinks the comment count which uses the get_comments_link() function inside the post_comments shortcode so it
Hide Comments For Unregistered Users
This code enables you to remove the comments form and comments list for logged out users. Based on this question from a member of the