plugin-icon

External Linker

제작자: jstar198·
Allows you to get around using target="_blank" by converting all your outbound links using Javascript.
버전
0.2
활성화된 설치 항목
10
최근 업데이트일
Aug 9, 2009

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.
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 2.8.3
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.