you can compare user_id to the author id, an then add your text.
global $post;
if ( $comment->user_id === $post->post_author ) { echo 'Author'; }
Related Posts:
- Change Comment Author Display Name
- Check If comment author is registered
- Comment Author Name In Reply Form
- Display all comments or recent comments per user on author page
- how to make author to write comment on only his own posts?
- How to check if commenter is the_author?
- Let user edit his own comment
- edit comments capability for authors
- Why are authors allowed to approve comments on their posts? How to revoke privilege?
- Hide notifications regarding new comments
- List user comments in author page
- Author can only see own post comment and can moderate
- WordPress comments on users profile
- Comment displaying full name even after setting another display name?
- Same email for all comments
- Notify post author for a new comment on his post?
- How many members have made comments approved for an article?
- Commentlist: bypostauthor problem with children list
- Only Allow post author and “Premium” Role user to comment
- get_comment_author_link not working properly
- Get Comment Author ID on the fly while posting
- How can I hide comment of the authors from their published posts?
- WordPress Custom Local Avatar not showing in comments
- How to prevent users/authors from seing IP/email of new commentators?
- Author name length character limit?
- Comments counter only for Authors Posts
- Comments pagination on author page
- Change author, disable comments, enable trackbacks for all items in library
- Prevent author from editing comments from others in their post
- URLs to user page is broken
- How to ‘If Author’ Comments Check
- Auto approve all comments (editor)
- Get comments for more than one post
- Add placeholder attribute to comment form fields
- “Categories” for comments?
- Allow anonymous comments, but prevent spam [closed]
- Where to remove from comment’s feed?
- Allow guests comments on single post
- Delete all user comments
- Why do I get email notifications about comments that WordPress has already determined are spam?
- Delayed commenting
- “Leave a comment” link even when you can’t
- Display number of comment replies
- User can post only one comment per day on one page
- Recent comments on author page?
- customize comment form
- Relaxing unescaped HTML filtering inside tags?
- Should I still worry about paginated comments with the latest wordpress versions?
- Publish a message on facebook after having posted a comment
- Users with custom roles can’t read each other’s comments
- Why is_wp_error() is not returning false even there’s no defined error
- Separete trackbacks/pings and numbered comments
- How can I fix wp_insert_comment failure when ‘comment_content” includes slanted apostrophe in Excel csv source data
- Show comments in a popup
- How to display html in only the first level of WP comments?
- Set noindex page-comment from Pages 2, 3 and More?
- How can I convert anonymous commenters into registered users?
- your comment awaiting moderation message sometimes not appearing
- Limit comments per user per post
- Filter In Reply comments from WordPress Admin Panel
- Remove post navigation links
- How to automatically evaluate comment content without user seeing the delay?
- css hide all the comment reply links except the lowest nested comments
- Which filter/hook to use for styling comments?
- How should I get the original comment while processing the reply
- I wish to remove, disable or hide the comment authors’ links to their sites from my home page
- Admin can enter JavaScript – potential security risk?
- Replace comments with a dummy text
- How do I stop the comments going to my email?
- Disable only the comment form/box itself?
- anyone can help me to know whats going wrong? [closed]
- How is the author’s name given a different color?
- Why there is still an approved comment after deleting all?
- Get comment id of the individual comments in comment list when modifying comment posted using comment text filter
- Custom comment field not showing when logged-in
- How do I get a array, with the right order of the nested comments?
- disable reply comments on depth equals 2
- Display last comments on home page
- How to show last comment on hover?
- Users moderate own comments
- show comment with statuse
- Critical error – can’t post comments
- How to add code for wp-comments-post.php over functions.php?
- Is there a way to export WordPress comments to a non-wordpress, HTML coded site?
- Parent comment’s author display_name
- How to show a list of comments on home page from all posts?
- Fire Social Annex Code on Comment Approval
- Enable comments option
- Change Comment Text [duplicate]
- Comments closed but enabled on edit screen
- Let user delete comment on front end only
- jQuery to Create Button to Show/Hide WordPress Comments and to Hide Comments by Default
- Comment form – different title if no comment yet
- add field comment [duplicate]
- Let users comment on categories in WordPress
- Loop not displaying comments_popup_link
- Display of comment_date within get_comments?
- How to batch convert comments to posts?
- prevent duplicate comments using wp_insert_comment
- I need help about wordpress of members section