• Hello you wonderful people ??
    Love WordPress and love the great support I get from all of you spending your time helping the less ‘knowledgeable’.
    I have the comments in the pop-up and just today I noticed that when I click on a comment author’s url it opens up in the pop-up window and I cannot maximize the window, so I’m stuck seeing just a little part of their website.
    How can I have their url open up in a new window?
    Thank you so much
    Lise
    https://over-50-and-kicking.com

Viewing 9 replies - 1 through 9 (of 9 total)
  • I don’t understand where I’m supposed to add “target=_blank”, could you tell me? If so, thanks. =)

    target=”blank” is obsolete.. that’s why they removed it so it doesn’t validate anymore.. use shift+click instead.. it’s that easy!! ??

    Thread Starter lise

    (@lise)

    Well, jerm, I learned something new today thanks to you ??
    Cypher, I did find the function but I don’t know where to put it?
    function comment_author_link() {
    global $comment;
    $url = apply_filters('comment_url', $comment->comment_author_url);
    $author = apply_filters('comment_author', $comment->comment_author);
    if (!$author) $author = 'Anonymous';
    if (empty($url)) :
    echo $author;
    else:
    echo "$author";
    endif;
    }

    Could you please let me know? Thanks a lot
    Lise

    Can you go back and edit your own post putting the code between backticks? In that way it will be visible the part where you have to put the target ??

    Add after rel='external' target='_blank'

    Thanks, moshu! =)

    Thread Starter lise

    (@lise)

    So sorry Moshu about the missing backsticks…I have no idea what they are and I have no idea how to go and edit my post?
    And thanks for the answer to my question ??
    Lise

    Thread Starter lise

    (@lise)

    Moshu, you’re the best ??
    Yes the answer was very helpful.
    And I must have had a ‘senior’ moment because I do see the note saying to put in backsticks. So sorry.
    Now for the edit, I did look there where you say, but there was only the sign # which I clicked on but it was the permalink to my post. Maybe I was not logged in when I did write the post, because the one I wrote on Oct 30 has that little Edit.
    Thanks again for showing me the way ??
    Lise

    Thread Starter lise

    (@lise)

    Hi, I’m hoping that moshu will help me again on that same subject. I have another blog and I just noticed that the comment author’s link does not open in a new window. I had kept the info from this previous post on my computer but I lost everything on it and the backup I had made did not work. I tried to see on my other blog where to put the target_blank but I cannot find it. Which file do I find it in, please.

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Comments author’s url’ is closed to new replies.