View Full Version : Wordpress plugin
tsanko
2007-04-02, 12:52 PM
I search for WP plugin which puts rel="nofollow" after all links in the pots. I found plugin which put it in comments, but there is no plugin for posts.
You can do that yourself by manually updating the quicktags.js file located in the 'wp-includes/js' folder.
On line 371 replace
edButtons[i].tagStart = '<a href="' + URL + '">';
with
edButtons[i].tagStart = '<a href="' + URL + '" rel="nofollow">';
tsanko
2007-04-03, 06:32 AM
edButtons[i].tagStart = '<a href="' + URL + '" rel="nofollow">'; or edButtons[i].tagStart = '<a href="' + URL + '" rel="nofollow"">'; Thanks for the help!
Only 1 quotation mark is required at the end of the string, after 'nofollow', not two.
Single quotes are being used to seperate the HTML from the code
'<a href="' + URL + '" rel="nofollow">'
means
Generate this on the page, please <a href="addurlhere" rel="nofollow">
vBulletin® v3.8.1, Copyright ©2000-2026, Jelsoft Enterprises Ltd.