WordPress.org

Ready to get started?Download WordPress

Forums

Email Link (7 posts)

  1. dmeek5555
    Member
    Posted 4 years ago #

    How can I add a link that would click through to email?

  2. Kevin Kwok
    Member
    Posted 4 years ago #

    <a href="mailto:YOUREMAILHERE">youremailhere</a>

  3. dianabyron
    Member
    Posted 4 years ago #

    I have the same problem, but where would this line of code go?
    For a beginner, WordPress does not explain this function in anything understandable!

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    It goes wherever you want your mail link to appear. Use the HTML tab to enter the bare markup. If using the Visual Editor, start as if creating a standard web link but enter mailto:YOUR_EMAIL_HERE in the url field.

  5. dianabyron
    Member
    Posted 4 years ago #

    Hi, that's great, but I don't want (and presume dmeek5555 doesn't want" the email address to be displayed on the screen because of spambots.
    Do you know the code for not showing the actual address?
    Would be much appreciated..

  6. david.danaan
    Member
    Posted 4 years ago #

    If it's a link, it could be
    you (at) yourdomain (dot) com.

    I'm not sure that completely solves the bot problem, though. The way to do that is to not have a link at all, just text: "email me at 'you (at) yourdomain (dot) com'."

    If I'm wrong about this, I imagine someone will correct me.

  7. esmi
    Forum Moderator
    Posted 4 years ago #

    Or you could use a contact form.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags