Title: Identities using the_author function
Last modified: August 18, 2016

---

# Identities using the_author function

 *  [dmarino](https://wordpress.org/support/users/dmarino/)
 * (@dmarino)
 * [20 years ago](https://wordpress.org/support/topic/identities-using-the_author-function/)
 * Hi,
 * I’m modofying the fspring theme.
 * For applying a diferent style for the author of the comment, it uses this code:
   `
   if(the_author('', false) == get_comment_author()) echo "<div class='commenttext-
   admin'>"; else echo "<div class='commenttext'>";  The problem is that users can
   leave a comment using the nickname of the author, so, it’s not really useful.
 * What I should add to the code for verifying that no one uses a registered nickname?
 * thanks in advance 🙂

The topic ‘Identities using the_author function’ is closed to new replies.

## Tags

 * [author](https://wordpress.org/support/topic-tag/author/)
 * [fSpring](https://wordpress.org/support/topic-tag/fspring/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [dmarino](https://wordpress.org/support/users/dmarino/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/identities-using-the_author-function/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
