Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t 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.

Replace Anchor Target

Replaces target="_blank" attribute for XHTML Strict compliance.

Selecting "Open link in a new window" in the builtin WordPress WYSIWYG editor breack XHTML strict compliance by adding the attribute target="_blank" to anchor tags. This plugin fixes the problem by replacing the target attribute with a common class attribute and then using a simple jquery script to open the link in a new window. This method allows for correct validation using XHTML 1.0 Strict.

Requires: 3.0 or higher
Compatible up to: 3.8.19
Last Updated: 5 years ago
Active Installs: 30+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1