WordPress.org

Support

Support » Plugins and Hacks » External links and Google analytics, Semiologic style

External links and Google analytics, Semiologic style

  • Denis de Bernardy
    Member

    @denis-de-bernardy

    Two new plugins.

    As anyone who is familiar with WordPress knows, several versions of these two plugins exist already. And as those who have tried each of them together know, said versions of these two plugins are incomplete or buggy or both at the time. And no two versions of the two plugins worked well together. Until today.
    Enjoy.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Great stuff as usual, Denis!

    -d

    I am using the external links plugin. The plugin is working fine as far as identifying external links. However, the image is not showing up beside the external links. Any ideas? Thanks!

    I am having the same problem. The proper CSS code has been inserted in the page, however I believe there to be a css conflict with the kubrick and k2 theme.

    Denis de Bernardy
    Member

    @denis-de-bernardy

    djsparks – it doesn’t look as if it was adding the external class. try uploading version 1.4.

    Denis, where do I find 1.4? Your page (linked above) is still reading v1.0 and the actual file is 1.3. Thanks!

    Denis de Bernardy
    Member

    @denis-de-bernardy

    i’ve uploaded the latest version — but still haven’t updated the relevant pages.

    Denis, sorry but, even after installing 1.4, I’m not getting anything.

    Denis de Bernardy
    Member

    @denis-de-bernardy

    are you sending gzip to your users?

    That was it! Thanks, Denis. I turned it off and everything works great now.

    Does anyone have CSS suggestions for limiting the external link image to posts only? And for excluding the external link image from applying to images? I’m weak on CSS.

    Denis de Bernardy
    Member

    @denis-de-bernardy

    edit the plugin, for that — this is the mode I use for debugging.

    open sem-external-links.php in an editor, and locate:

    add_action(‘init’, array(&$this, ‘init’), 1);
    #add_filter(‘the_content’, array(&$this, ‘change_links’));

    change that to:

    #add_action(‘init’, array(&$this, ‘init’), 1);
    add_filter(‘the_content’, array(&$this, ‘change_links’));

    Denis, thanks again. This rids the image in the sidebar. However, there are still external link images on all my linked image tags in post/page content. Any guidance on how to make this disappear?

    Denis de Bernardy
    Member

    @denis-de-bernardy

    not feasible… css is a crappy language that does not allow exceptions.

    text link is: a
    image link is: a img

    you can define stuff for ‘a’, and more for ‘a img’, but you cannot define stuff for ‘a’ except for ‘a img’.

    ThomasHolmes
    Member

    @thomasholmes

    The plug-in is great – the little external link graphic is cute! It would however be great if it was possible to specify some links that should not have the graphic.

    Would it be possible to specify a css class

    <a class="noext" ...

    so that these links didn’t have the external graphic?

    Thomas

    Denis de Bernardy
    Member

    @denis-de-bernardy

    use:

    style=”background-image: none; margin: 0px;”

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘External links and Google analytics, Semiologic style’ is closed to new replies.