WP: Identify External Links
This plugin has been moved to my code section, here.
WP: Identify External Links
This plugin will add a special CSS class to all links in your entries and in your comments that go to external sites (sites other than your site).
Download
Instructions
Copy and paste the text. Save it in a file named identify-external-links.php. Make sure there are no spaces before the opening <?php or after the closing ?>. Activate it from within the WordPress admin interface. You can then use a.extlink { } in your CSS to style it.
You can also edit the plugin to make it do other things like add target="_blank" to external links or to add special things only to your internal links.
Versions
- Version 1.2 Doesn’t apply
extlinkclass if there is an image within the link - Version 1.1 Works for subdomains now (thanks h0bbel!)
- Version 1.0 Initial release
