• I have my comments set in a popup window, but how do I make the commenters’ links open in a NEW window, rather than opening in the popup? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • oriecat

    (@oriecat)

    I am trying to do this also. I found previous threads that say to add the target _blank to the comments_functions, and I did that and it works, except now in Firefow it just opens a new tab still in the popup instead of a new window or a new tab in the main window. Is there any way to deal with this, aside from ditching pop up comments?

    Thread Starter gretchen

    (@gretchen)

    Oriecat, I don’t remember now how I did this (wish I’d seen your question sooner). But there’s a separate file somewhere in your WP files (probably comments_popup) that needs to be fixed. I found this info by searching the forums here, so hopefully by now you’ve done the same and found your answer. Sorry I can’t remember what I did!

    I found a solution for this problem suggested at the old WordPress Wiki. I tried it myself as I was experiencing the same problem and it worked. In comments-popup.php find this piece of coding: <?php comment_author_link() ?>

    Once you’ve found it, replace it with this: ” target=”new”><?php comment_author(); ?>

    Try it, I’m using the latest version of WordPress and it worked like a dream. x)

    Oops, the solution looks messed up in my post above, sorry about that. I’ll give you the url of the solution instead. On the page, look for “How can I make the commenter’s link open in a new window?”.

    https://wiki.www.ads-software.com/?pagename=WordPress%20Tips&PHPSESSID=4cebe10fdadf2c9fcdcbf0592fd7ee18

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Making Links Open in a New Window in the Comment Popup’ is closed to new replies.