WordPress.org

Forums

Email Obfuscate Shortcode
[resolved] Custom Text (6 posts)

  1. jonathanmotes
    Member
    Posted 1 year ago #

    How would I link text other than the email address? Example: how would I use the shortcode to replace this?

    <a href="mailto:somebody@somebody.com">Click here to email me!</a>

    Thanks!

    http://wordpress.org/plugins/email-obfuscate-shortcode/

  2. khromov
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jonathan,

    You can use the link_title shortcode attribute, like this:

    [email-obfuscate email="somebody@somebody.com" link_title="Click here to email me!"]

    You can find a list of all available options a bit down on the main plugin page:
    http://wordpress.org/plugins/email-obfuscate-shortcode

  3. jonathanmotes
    Member
    Posted 1 year ago #

    Awesome! Thanks for the quick response. I started to try that but assumed it was for the tag title attribute (that you see for the hover tooltip).

  4. khromov
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jonathan,

    I agree it's not a great name. The plugin does currently not support the title attribute. In your opinion, is it something that is often used?

    I will mark this thread as resolved. :)

  5. jonathanmotes
    Member
    Posted 1 year ago #

    I think link titles (for the tooltips) are generally a good practice as they help with SEO and are good for usability reasons. In this particular case it's not a big deal not having it though.

  6. khromov
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jonathan,

    It makes sense to add the a tag title attribute. I have added it in the latest version of the plugin. (1.3.2).

    It's usable through the:

    tag_title="Your title!"

    ...shortcode attribute.

    Thanks for your bug report and suggestion!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.