This is driving me crazy. I cannot get any of the target=”_blank” or “nofollow” plugins to work. I’m using the default kakumei theme with the latest WordPress installation. Has the plugin code changed?
hi ya’ll
I am sorry I was not back earlier on this post but I have managed to solved everything without touching the core and my method is extensible to whatever you want to do.
//add target=_blank to post links
function bb_target_blank( $text ) {
return preg_replace_callback('||i', 'bb_target_blank_callback', $text);
}
function bb_target_blank_callback( $matches ) {
$text = $matches[1];
return "";
}
add_filter(‘post_text’, ‘bb_target_blank’);
If you require further support then you can always reach to me at cordoval at gmail dot com and you can send me a small token of your appreciation via paypal. Thanks.
all the code got messed up while posting on here, I wrapped it between
but would not work properly someone does know how to make it look pretty?
Looks like nofollow is automatically added since bbPress 1.0.3? Is there a way to add links now that aren’t tagged with nofollow?
This is very odd?
Before the recent update, the links on my forum were showing as nofollow but since the update they have all gone back to dofollow>(
How can I get them to revert back to nofollow?
Don’t you just hate it when people keep fingering things that work.
BTW this is with version 2.2.4