=== WP External Links (nofollow new window seo) ===
Contributors: freelancephp
Tags: links, external, icon, target, _blank, _new, _none, rel, nofollow, new window, new tab, javascript, xhtml, seo
Requires at least: 3.4.0
Tested up to: 3.8.2
Stable tag: 1.52
Open external links in a new window or tab, adding "nofollow", set link icon, styling, SEO friendly options and more. Easy install and go.
== Description ==
Configure settings for all external links on your site.
= Features =
* Open in new window or tab
* Add "nofollow"
* Choose from 20 icons
* Set other link options (like classes, title etc)
* Make it SEO friendly
= Easy to use =
After activating the plugin all options are already set to make your external links SEO friendly. Optionally you can also set the target for opening in a new window or tab or styling options, like adding an icon.
= Sources =
* [Documentation](http://wordpress.org/extend/plugins/wp-external-links/other_notes/)
* [FAQ](http://wordpress.org/extend/plugins/wp-external-links/faq/)
* [Github](https://github.com/freelancephp/WP-External-Links)
= Like this plugin? =
[Send your review](http://wordpress.org/support/view/plugin-reviews/wp-external-links-plugin).
== Installation ==
1. Go to `Plugins` in the Admin menu
1. Click on the button `Add new`
1. Search for `WP External Links` and click 'Install Now' OR click on the `upload` link to upload `wp-external-links.zip`
1. Click on `Activate plugin`
== Frequently Asked Questions ==
= I want internal links to be treated as external links. How? =
You could add `rel="external"` to those internal links that should be treated as external. The plugin settings will also be applied to those links.
= Links to my own domain are treated as external links. Why? =
Links pointing to your WordPress site are internal links. All other links will be treated as external links.
= I want links to my own domain not being treated as external links. =
Add your domain to the option "Ingore links (URL) containing...".
[Do you have a question? Please ask me](http://www.freelancephp.net/contact/)
== Screenshots ==
1. Link Icon on the Site
1. Admin Settings Page
== Documentation ==
After activating the plugin all options are already set to make your external links SEO friendly. Optionally you can also set the target for opening in a new window or tab or styling options, like adding an icon.
= Action hook =
The plugin also has a hook when ready, f.e. to add extra filters:
`function extra_filters($filter_callback, $object) {
add_filter('some_filter', $filter_callback);
}
add_action('wpel_ready', 'extra_filters');`
= Filter hook =
The wpel_external_link filter gives you the possibility to manipulate output of the mailto created by the plugin, like:
`function special_external_link($created_link, $original_link, $label, $attrs, $is_ignored_link) {
// skip links that contain the class "not-external"
if (isset($attrs['class']) && strpos($attrs['class'], 'not-external') !== false) {
return $original_link;
}
return ''. $created_link .'';
}
add_filter('wpel_external_link', 'special_external_link', 10, 5);`
Now all external links will be processed and wrapped around a ``-tag. And links containing the class "not-external" will not be processed by the plugin at all (and stay the way they are).
= Credits =
* [jQuery Tipsy Plugin](http://plugins.jquery.com/project/tipsy) made by [Jason Frame](http://onehackoranother.com/)
* [phpQuery](http://code.google.com/p/phpquery/) made by [Tobiasz Cudnik](http://tobiasz123.wordpress.com)
* [Icon](http://findicons.com/icon/164579/link_go?id=427009) made by [FatCow Web Hosting](http://www.fatcow.com/)
== Changelog ==
= 1.52 =
* Added filter hook wpel_internal_link
* Fixed use_js option bug
* Fixed bug loading non-existing stylesheet
* Minified javascripts
= 1.51 =
* Fixed also check url's starting with //
* Fixed wpel_external_link also applied on ignored links
= 1.50 =
* Removed stylesheet file to save extra request
* Added option for loading js file in wp_footer
* Fixed bug with data-* attributes
* Fixed bug url's with hash at the end
* Fixed PHP errors
= 1.41 =
* Fixed Bug: wpmel_external_link filter hook was not working correctly
= 1.40 =
* Added action hook wpel_ready
* Added filter hook wpel_external_link
* Added output flush on wp_footer
* Fixed Bug: spaces before url in href-attribute not recognized as external link
* Fixed Bug: external links not processed (regexpr tag conflict starting with an a, like