Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #539234

    Hello;
    Long ago, when I actually built pages using HTML, I used to use a script like the following:
    <script type="text/javascript">function emailantispam(email1, email2, email3, email4){emailE = email1 + '@' + email3 + email4 + email2; document.write('<a href="mailto:' + emailE + '">' + emailE + '</a>')};</script>

    To call on the script in the body of the HTML, one would use something like:
    <script type="text/javascript">emailantispam('joe','.com','my','website');</script>

    This was particularly successful against e-mail skimming, but I’m not comfortable with figuring out the best way one might integrate this approach into WordPress, and especially with the theme that uses ‘formfields’ where one would normally put e-mail addresses (e.g., social icons).
    Is this something that is doable, or is this simply too far out in left field, and would require heavy customization of the theme?
    BTW, I would note that I typically put the script in the site’s header, so that it would work regardless of whatever page I was developing.
    I really would appreciate some feedback and/or assistance.
    Daniel

    • This topic was modified 9 years ago by dziesmer.
    #539923

    Hi dziesmer!

    Perhaps a plugin would work for you, https://wordpress.org/plugins/email-encoder-bundle/.

    Cheers!
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.