I'm making a multi-authors blog, but the author role don't have acces to wordpress back end admin panel. How to show the comment author email in front end comment list inside the post?

1 Answer 1


Use <?php comment_author_email(); ?>.

Use it in comment callback function or you can also hook it to your comment_text. It will show the comment author's email inside the comment loop.

But keep in mind the Wordpress instruction: Care should be taken to protect the email address and assure that email harvesters do not capture your commenter’s email address. Most assume that their email address will not appear in raw form on the site. Doing so will enable anyone, including those that people don’t want to get the email address and use it for their own means good and bad.


  • Thanks for reply, it's working, but i don't know where to put to show inside the comment, actually only the post author can see the comment list. My theme is blossom-fashion
    – user186762
    Apr 24, 2020 at 17:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.