[Support request] How to show the author name in comment ?

Home Forums Support [Support request] How to show the author name in comment ?

Home Forums Support How to show the author name in comment ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1579462
    CIRÉ asbl

    Hello,

    maybe I am blind but I can’t see any option to show the author name of a comment.

    I can see the avatar but no name when a user post a comment…

    Maybe there is a option I didn’t see.

    Thank you for any help.

    Regard.
    Pierre

    #1579568
    Elvin
    Staff
    Customer Support

    Hi,

    You’ll have to write your own comments.php template if you want to change this particular part of how the comment functionality display as there’s no filter as to how the commentor’s name outputs itself.

    See this line within the default theme files: https://github.com/tomusborne/generatepress/blob/e030f57d2c26991074a6868265737424dac567d0/inc/structure/comments.php#L43

    Note: This isn’t recommended as it doesn’t respect the user’s preferred display name.

    You can create a child theme and include your custom comments.php template there.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.