Allows you to get around using target=”_blank” by converting all your outbound links using Javascript.
Author: | John J. Camilleri (profile at wordpress.org) |
WordPress version required: | ? |
WordPress version tested: | 2.8.3 |
Plugin version: | 0.2 |
Added to WordPress repository: | 27-07-2009 |
Last updated: | 09-08-2009
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://johnjcamilleri.com/?cat=78 |
Total downloads: | 1 605 |
Active installs: | 10+ |
Click to start download |
You know how target="_blank"
is invalid in XHTML strict? Well, this plugin uses a Javascript hack to get around this. The code was originally taken from this thread I came across: http://www.webmasterworld.com/forum21/11165.htm
For posts/pages, the plugin will automatically captures any target="_blank"
's inserted by the WP editor and modifies them to keep the page XHTML Strict valid. Then some small Javascript is inserted into each page which re-inserts target="_blank"
so that the functionality is restored after your page has been validated!
For non-post/page content (eg templates/widgets), simply give your outbound links a class name of external
, and the rest will be done automatically while keeping your page XHTML valid.
FAQ
ChangeLog