External Linker

External Linker Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,594 downloads
External Linker Icon

Try plugin: External Linker

We'll create fresh WordPress site with External Linker installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About External Linker

Allows you to get around using target="_blank" by converting all your outbound links using Javascript.

0


0


0


0


0

updated: 15 years ago
since: 15 years ago

Description

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.

To Do

Future things I plan to add:

  • Integration into WP edit page to allow use of plugin without manually editing HTML.