• Wordpress
WP External Links Plugin

Met de WP External Links Plugin kun je ervoor zorgen dat externe links altijd in een nieuw venster (of tabblad) worden geopend.

Functies

  • Open externe links in een nieuw venster of tabblad
  • Voeg “external” en “nofollow” aan de rel-attribuut van externe links
  • Kies een icoon voor externe links, voorbeeld:
  • Voeg een css Class toe aan externe links
  • Unobtrusive JavaScript methode zodat de code XHTML Strict valide blijft

Admin Opties

In de Admin Panel kun je verschillende opties instellen voor de externe links. Dit ziet er zo uit:

Downloaden

Download de laatste versie van de WordPress Plugin Directory of zoek naar “WP External Links” in de WordPress Admin Panel.

Licentie

Code valt zowel onder de GPL als de MIT licentie.

Gerelateerde artikelen

Reacties (36)

  • This is a wonderful plugin. This will save me a lot of time from manually setting external links to open in a new window. Good work.

  • Thanks Arun.

  • Hey,

    i’ve found a slightly bug in your plugin that applies to links as arguments in javascripts.

    Is there a special bug reporting site or should i just post the description here?

  • @mraero You can send it to me by using the contactform.

  • Thanks for the excellent plug-in. What a great time saver. Is it possible to add an option to exempt specific links from having the attributes applied? Thanks again.

  • Thanks John.
    It’s possible to skip links that contain a certain class (like “no-ext”). If that’s what you mean.

  • I want a link I created to stay on my website framed in somehow and not open a new window. Does this plugin or another do this.

  • Hi. I used your plugin on our site for helicopter film http://www.magicair.no ( norwegian ) but disabled the image option as I found out the plugin generates one image pr link, which makes download slower. Your plugin should use the same image many times rather than generating new copies/urls.

  • Hi. Feedback nr 2. The plugin makes links in jquery sliders open in new windows on IE and Chrome on Windows. Doesnt happen on Mac versions.

  • @Scott You could use this plugin to do the task.

    @John The images are loaded with css, which normally downloads the image just one time. About the second point, it would be nice to exclude certain links form being filtered. I will put it on the TODO list.

  • I upgraded to v0.34 today and it gives the below error on top of all the admin and blog pages:

    Warning: key_exists() [function.key-exists]: The second argument should be either an array or an object in …\wp-content\plugins\wp-external-links\wp-external-links.php on line 561

    How can I fix it?

    Thanks in advance!

  • @Shamis Have you already updated to v0.35? It should be solved now.

    Technical explanation….The problem occurs when no settings are found for another plugin (Widget Logic) while checking if the widget_content filter is activated. On my local installation I have tested also when Widget Logic was inactive. Because the old settings were still available in the database, I didn’t get the error.

  • Hi,
    This Plug-in is wonderful but I cannot use it together with Socialize plug-in… It destroys Twitter and Google Buzz button. I don’t know why so if anyone have any clue please let me know :) … At least for twitter (vertical button is not working, it become horizontal)

    Thank you.

  • Hi, i’m using the plugin and appreciate how well constructed it is. I need to know if it’s possible to add one more element. A mouseover/hover effect that would display a text message. We’d like it to have a warning that “Clicking on this link will leave this site” in a tooltip type effect for all the external links that the plugin already identifies. What would it take to add this functionality?

  • Victor, I sent a contact form email to you regarding customizing this plugin. I’d like to add the ability to display a custom message once the plugin is activated for the external links only. Please advise if this is possible. Thank you!

  • Hello Simco, I will implement this feature in the next release. For now you can use a workaround by adding this javascript code (works only with jQuery):

    if ( typeof jQuery != 'undefined' && jQuery ) {
        jQuery(function( $ ){
            $( 'a[rel*="external"]' ).attr( 'title', '...' );
        });
    }

  • i like it…. so cool…

  • Character encoding error on latest version

  • Great plugin, thanks for good work, but the latest version broke all my site, this breaking the encoding of characters (accented letters appear broken), I’m not sure but I think also caught the functioning of some plugins to integrate with Facebook, example: Simple Facebook Comments For WordPress

    it could not before, I got the update problem and even downgrade it continues to break the site …

    any solution?

    ————————————————–
    update:
    i downgrade to version 0.35 and thats works fine, thanks!

  • I could not use the class=”no-ext”, the plugin does not interpret. Could you give an example of use with a link.

  • How do I change what the tool-tip message says?

  • @Roger: There is no “no-ext” class (yet), but it’s on the TODO list.

    @Maddew: See option “Set title-attribute”

  • Hi, I have a subdomain which i stored all images and I would like to dofollow it from my domain. How can I dofollow subdomain’s images using this plugin because there’s a lot images. Thank you.

  • Hi, I install v1.10 of this plugin and it gives the below error on top of the admin page:
    Warning: method_exists() expects parameter 2 to be string, array given in /…/wp-content/plugins/wp-external-links/includes/wp-plugin-dev-classes/class-wp-meta-box-page.php on line 410
    My website runs with PHP 5.3.5.

  • I’m having the same issue as Alexej above. There error is shown 4 times. The plugin does seem to work though. Please can you advise. Thanks!

  • Is there anyway to disable the plugin from filtering certain links?

    I have several links that load and iframe in a fancy-box. Something about the interaction with the two plugins stop the links from loading.

    The no link icon class does not seem to have any affect

  • I will remove the warnings/errors in the next release, which will be hopefully within a week.

    @lee and @craig: I’ve had a lot of requests about excluding certain links, but yet I haven’t found a proper technical solution for this.

  • I have installed the External Links plugin and now I do not know how to select a text from a page that needs to be an external plugin!!!!

    There is not a conection between the content on the page and the plugin!

    PLEASE HELP AND ADVISE ME

  • Just add your links like you normally would. The links, that are external, will be detected automatically by the plugin.

  • hi,
    installed pluggin. enabled and it doesnt seem to work.
    It shows the external icon next to some links but not all.

    see it here
    http://www.saisonniers.co.uk/wp/?page_id=28

    any simple setup things to miss? (just installed via add new pluggin)

  • actually its being strange. on
    http://www.saisonniers.co.uk/wp/?page_id=28
    the first link (which is an image) has self target. other links to pages on that page are blank.

    on
    http://www.saisonniers.co.uk/wp/?page_id=24
    I have a test link to google, that doesnt show the icon and has no target
    assuming this feedback helps. thanks

  • I was wondering whether there is a way to also include IntenseDebate links with nofollow as well?

    Apparently, they do use classes of:

    .idc-comments
    .idc-foot

    Is this something to do with the latest version ‘Add Class’ or am I misunderstanding the plugin’s use of classes?

  • Perfect Plugin!

    Just what I was looking for!
    Thanks you.

  • Hi, installed pluggin. Enabled and it doesnt seem to work.
    It shows the external icon next to some links but not all.

    See it here
    http://www.carocenter.com/c/news/

    Just installed via add new pluggin. Any simple setup things to miss?

  • your plugin not works on 3.4.2
    please check

  • Is there any way to stop google ad from opening in an external page as this is a breach of their policy.

    Thanks

Stuur je reactie

  • RSS
  • LinkedIn
  • Twitter