how to get rel=”external” in WP2 link quicktag
I’m trying to modify WP2 to insert rel=”external” when I use the link quicktag. I had previously done this in 1.5.X and it worked fine. Just had to hack quicktags.js. Once I found quicktags.js in WP2 (it’s moved from wp-admin to wp-includes/js) I applied the same hack and it has no effect. Here’s what I did.
edButtons[i].tagStart = '<a href="' + URL + '">';
edButtons[i].tagStart = '<a href="' + URL + '" rel="external">';
But, as I said, it hasn’t had any effect.
- The topic ‘how to get rel=”external” in WP2 link quicktag’ is closed to new replies.