WordPress.org

Support

Support » Plugins and Hacks » [Plugin: emObA – Email Obfuscator Advanced] Flexible CSS

[Plugin: emObA – Email Obfuscator Advanced] Flexible CSS

  • LINK TEXT CLASS

    I notice that there’s inadequate CSS for flexible styling of working email links using emObA.

    Is it possible to add some code to the plugin somewhere to add a class attribute to the <span> tag that wraps the link text? Something like <span class="emoba-link">...</span> would do.
    _________

    SPECIFICS

    For example, I’m using the shortcode method of adding emails using the plugin like so:

    [EMAIL send email | name@someaddress.com]

    This works fine but spits out only a plain <span> around the “send email” link text and the anchor tag that wraps the span has a globally unusable id attribute with a number like id="emoba-3885" that is unique to each anchor.

    In other words, I can’t style the link text in the span because there’s not one adequate CSS class attribute to make it possible.
    _________

    EASY AND USEFUL TO ALL

    Like many people, I’m using link identification so I can have tiny icons next to links for identifying PDFs, email, mp3, and external sites, etc. To do so, I need these links to have global class attributes.

    This seems like a perfectly useful feature that would be easy to implement and provide flexibility to those who want it and no harm to those who don’t.

Viewing 2 replies - 1 through 2 (of 2 total)
  • In the development version I have added classes to the link itself (emoba-link) and to the link’s innertext — the visible text of the link (emoba-realname). I may make some more adjustments, but it’s on its way. I will release this as stable 1.6 in a few days.
    Thanks for the suggestion.

    kirkpatrick

    @kirkpatrick

    1.6.5 has classes as requested, and also allows links to have class and style attributes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: emObA – Email Obfuscator Advanced] Flexible CSS’ is closed to new replies.
Skip to toolbar