Forums
-
- Forum
- Posts
-
- Installation
- 28,257
- Troubleshooting
- 61,816
- Themes
- 10,311
- Plugins
- 15,225
- Requests & Feedback
- 14,831
- Showcase
- 3,252
-
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');
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS