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'
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