Forums
-
- Forum
- Posts
-
- Installation
- 28,255
- Troubleshooting
- 61,767
- Themes
- 10,301
- Plugins
- 15,220
- Requests & Feedback
- 14,817
- 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