Viewing 10 replies - 1 through 10 (of 10 total)
  • WordPress should be able to handle any html you throw at it in a post or page or even a comment (unless you’ve disabled html). So you could just use the standard:

    <a href="mailto:[email protected]" > mail < /a>

    `
    Plus, it will usually automatically convert URLs and email addresses to live links with the address itself as the anchor text. So if you just type in your email address in the post or page it should convert into a live link.

    So, you could just do: [email protected]

    If you mean how do you create a link to your email address that uses javascript to avoid having the address get picked up by spambots, there’s a plugin for that with the word “transpose” in the name, something like “transpose-email.”

    Thread Starter confused

    (@confused)

    That code worked. Thanks. But I think I must have disabled my html. Where would I check this?

    but you’ll be spammed. I would never put email accounts like that in a page. you can also scrabble it a bit with javascript, but still not perfect.

    If you’re afraid of automated spam, you might try something like addressATyahooDOTcom. Most humans will know to replace the @ and .

    Or you could try the Contact Form plugin. It’s great and easy to use.

    or create a javascript function like:

    function myEmail(){
    var mynl = “nl” ;
    var myname = “yournamebeforethe@” ;
    var mydomain = “yourdomain” ;
    var myappestaartje = “@” ;
    var myhrefbegin = “<a href=mailto:” ;
    var myhrefeinde = “” ;

    return (myhrefbegin + myname + myappestaartje + mydomain + “.” + mynl + “>” + myname + myappestaartje + mydomain + “.” + mynl + myhrefeinde ) ;

    }

    Anonymous User 28033

    (@anonymized-28033)

    Sorry for the question in the question, but it safe to use a similar way as in this website?
    https://www.iconico.com/emailProtector/

    Example:
    [email protected]
    is coded in this mode:
    <a href="mailto:
    & # 1 1 0 ; & # 9 7 ; & # 1 0 9 ; & # 1 0 1 ; & # 6 4 ; & # 1 0 4 ; & # 1 1 1 ; & # 1 1 5 ; & # 1 1 6 ; & # 1 1 0 ; & # 9 7 ; & # 1 0 9 ; & # 1 0 1 ; & # 4 6 ; & # 1 1 1 ; & # 1 1 4 ; & # 1 0 3 ; & # 3 2 ; " > & # 1 1 0 ; & # 9 7 ; & # 1 0 9 ; & # 1 0 1 ; & # 6 4 ; & # 1 0 4 ; & # 1 1 1 ; & # 1 1 5 ; & # 1 1 6 ; & # 1 1 0 ; & # 9 7 ; & # 1 0 9 ; & # 1 0 1 ; & # 4 6 ; & # 1 1 1 ; & # 1 1 4 ; & # 1 0 3 ; & # 3 2 ;
    </a>

    Anonymous User 28033

    (@anonymized-28033)

    might be interested, but I don’t know if that’s good enough.

    Anonymous User 28033

    (@anonymized-28033)

    Yes, use the plugin elis just recommended, it’s a lot easier than coding by hand which is what the “transpose” plugin required:

    https://guff.szub.net/email-immunizer/

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Email link’ is closed to new replies.