• Hello
    I searched for this, but I can’t find it anywhere.
    I want to show the username (user_login) of a user in comments, and not what he chooses to display publicly (WordPress has the option “Display to Public as” which allows users to change the name they show on the website – which is bad, as they can change the name that appears on the website)

    In comments.php my theme uses get_comment_author_link()) to display the name. How can I change that to username, but also keep the author link?

    thank you

  • The topic ‘Show username (user_login) instead of "Display to Public as"’ is closed to new replies.