Help - Search - Members - Calendar
Full Version: Wordpress Comment Plugger
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
D1SMANTLED
OKay, I have a comment plugger on my subdomain and I can't seem to figure out how to make the plug to open up in a new window (target="blank") and still function normally. BTW, I use iFrames, if that info is needed in anything...

this is the code I use:


Can someone help me?
mipadi
QUOTE(D1SMANTLED @ Apr 6 2005, 7:19 PM)
OKay, I have a comment plugger on my subdomain and I can't seem to figure out how to make the plug to open up in a new window (target="blank") and still function normally. BTW, I use iFrames, if that info is needed in anything...
Can someone help me?

Have you tried changing the link output line (approx. line 14) from this:
CODE
$output[] = '<a href="' . $commenter->comment_author_url . '" title="' . $commenter->comment_author . '">' . $commenter->comment_author . '</a>';

to this:
CODE
$output[] = '<a href="' . $commenter->comment_author_url . '" title="' . $commenter->comment_author . '" target="_blank">' . $commenter->comment_author . '</a>';
D1SMANTLED
nvm, I got it. Thanks.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.