Support » Fixing WordPress » Comments Link and Author Name

  • I am trying to devide this code

    <?php comment_author_link() ?> = shows comment author name and puts the website into a Tag.

    – How can i just show the Name without having it in a link tag?

    – How can i just show the Website Link he filled in?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi!
    I had a similar problem. At least the first part of it. I wanted to remove the link so it just showed the name of the person commenting. What I found worked (at least for my theme) is to locate <?php comment_author_link() ?> in the comment.php file of your theme and change it to <?php comment_author() ?>
    I.e you remove the _link part. That does it. How to achieve part 2 of your question, not sure.

    You might try this one:
    <?php comment_author_url_link() ?>
    Havent had the chance to try it myself but seems it might work.
    Good luck!

    ———————–
    Markus

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comments Link and Author Name’ is closed to new replies.