WordPress.org

Forums

Email link (7 posts)

  1. bcomboy
    Member
    Posted 10 years ago #

    I have a "contact us" category on my site that displays my email address.
    I would like to create some sort of link so that when they click on my address it will enable them to email me.
    I have searched around for assistance but to no avail.....
    I am REALLY new to this stuff so perhaps I am missing something very simple, or perhaps this can't be done - I simply do not know.
    Thanks.

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    A better way is to encode your email address so the spammers cannot grab it
    or
    Use an image so the users can see your email address but it cannot be grabbed
    or
    Use a contact form so your email address is entirely hidden.

  3. bcomboy
    Member
    Posted 10 years ago #

    Kafkaesqui: Thank you for your help.
    podz: Any advice on how to perform these tasks....and which do you feel is the best option?

  4. Beel
    Member
    Posted 10 years ago #

  5. To expand on what Kafkaesqui said, if you want to do a basic email link, open up index.php in a text editor or WP admin's Templates tab, find your side bar contents, a stick this somewhere amongst them:

  6. <h2><?php _e('Contact'); ?></h2>


  7. Trial and Error is the best way to learn. ^_-
    Kafkaesqui, thanks for the encoding info!

  • I hope it's okay that I include a plug to a write-up I did on this, with a few external resources:
    http://blogged.btvillarin.com/2004/10/27/preventing-spam/

  • dominicanpapi82
    Member
    Posted 9 years ago #

    I am the person who wrote that encoder you link to at http://www.proles.net/emailencoder/. I have written a new and improved site, http://www.addressmunger.com . It still has the old encoder, and it can now also encode your email address into a javascript function for the (slightly) more advanced users. I would greatly appreciate it if you would update your link.

    Thanks,
    Juan.
    AddressMunger.com

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.