WordPress.org

Support

Support » Installation » [Resolved] Comments author’s nickname, not name typed in name field

[Resolved] Comments author’s nickname, not name typed in name field

  • How do I change the name that is displayed with comments to always be the name that is typed in the comments name field, and not the author’s nickname if one is logged in?

    Background: I share my blog with another author, and we log in with the same login. When we post comments, it grabs our nickname “The OBitches”, but I’d prefer it use the name I type in the name field when commenting.

    Blog: OBitches.com

    Thanks!
    Elly

Viewing 2 replies - 1 through 2 (of 2 total)
  • Nevermind. I fixed it.

    Solution:
    In wp-comments-post.php, change line 29 & 30 to read:
    $comment_author = trim($_POST[‘author’]);
    $comment_author_email = trim($_POST[’email’]);

    Thanks anyhow,
    Elly

    LiverpoolLad
    Member

    @liverpoollad

    You could have just joined the blog, gave the user name you wanted, and gave yourself the right to be admin.

    But, alls well that ends well and a good way to sort it out.

    The Blogs pretty good, but hard to read as the main text is too small. To make the blog readable to more people, I’d make sure the text was sized a bit bigger.

    Good luck.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Comments author’s nickname, not name typed in name field’ is closed to new replies.