Support » Themes and Templates » Contact form?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Why not just use a mailto link with a twist. A bit of javascript and your email address is stealthed from bots, but fully clickable to humans. Add this snippet in the <head> section of index.php:

    <script language="javascript" type="text/javascript">
    function WriteMailLink(thelink, user, domain, subject) {
    document.write("<a class="contact" href="mai");
    if ( subject.length > 0 ) document.write("?subject="+subject);

    In the location you wish a clickable mailto link, put in this:

    <script language="javascript" type="text/javascript">
    WriteMailLink("Link Text","name-part","","optional subject");

    To clarify, your email address is broken into two parts:

    Hopefully I put encoded everything properly so it won’t be mangled. A preview button would be nice.

    That would be great to put on top of the form, but there are users who access my site from a computer where the mail client isn’t specific to them (office environment). For those users, I still need a contact form.

    Mark (podz)


    Support Maven

    This does the trick for me:

    Hey, Ryan. Interesting plugin. I’m going to give it a try.

    Very nice site too, btw. However, you might want to consider linking the graphic at the top of your page to your home page for easier navigation.


    I’ve been trying for the past couple weeks to get a decent contact form working properlu on my site.

    Looking forward to trying your plugin out as well.

    Thanks for creating this kind of plugin.

    Cool plugin, works great. Nice work 🙂



    Ryan — This plugin sounds like it’s exactly what I’m looking for, but…I’m getting a 404 error at the URI and a “This page cannot be displayed” message at WordPress support URL.


    Moderator Peter Westwood


    WordPress Lead Developer

    Ryans put the wrong uri for his plugin up.

    The correct uri is:

    This alternate uri for the support forum link should work ok:


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