Re: open link within replys in a new window
<?php
/*
Plugin Name: Open Links in New Window
*/
function bb_target_blank( $text ) {
$text = preg_replace('|<a (.+?)>|i', '<a $1 target="_blank">', $text);
return $text;
}
add_filter('post_text', 'bb_target_blank',255);
?>
Put the above into a file and save it as new-window-links.php
or similar in your my-plugins
directory. Then enable it in the plugins menu. Should work. Avoid getting any spaces around the start and end tags.