Forums
-
- Forum
- Posts
-
- Installation
- 28,521
- Troubleshooting
- 62,696
- Themes
- 10,443
- Plugins
- 15,379
- Requests & Feedback
- 14,981
- Showcase
- 3,257
-
cordoval, make this into a plugin:
//add target=_blank to post links
function bb_target_blank( $text ) {
$text = preg_replace('|<a (.+?)>|i', '<a $1 target="_blank">', $text);
return $text;
}
add_filter('pre_post', 'bb_target_blank');