Simplest WordPress Contact Form

I’ve been scouring the WordPress plugin pages, other blogs, and the Web in general looking for a decent contact form that works with WordPress. Nope, not a one to be found.

Well, I’m sure there is one, but I haven’t found it yet.

Every plugin I found was easy to implement, but didn’t seem to flow seamlessly with WordPress. I was looking for something that would take minimal stylesheet changes, and pretty much performed like the comments form on blog posts.

I got everything from horribly aligned tables to plugins that had all the bells and whistles of a toddler’s Christmas morning. I wanted simplicity, so I decided to implement an idea I had a while back. Just use the normal comments form to allow people to contact me.

Basically, what I’ve done is delete a few things from the normal “comments.php,” and renamed it “contact-comments.php.” Then, I put together a page template called Contact (contact.php). With this technique, no comments show on the contact page, but they show in my WordPress dashboard. You can currently see what it looks like on my contact page.

Before going further, I must mention that I haven’t tested this with comment plugins that pull in the latest comments or anything. So, if you’re using something like that, I wouldn’t suggest this. Also, this probably isn’t the ideal solution for people who get a lot of emails through their contact form every day — it could become an organization disaster.

If you want to use this method (although I don’t recommend it and am still looking for a decent contact plugin), the first thing you need to do is download the Simple Contact Page (415). Unzip it to your “/wp-content/themes/current-theme” file.

Simple and easy contact form for WordPress: How to add a page template

Now, you need to create a WordPress page called “Contact” or “Contact Me” or whatever. In the right sidebar you will see a drop-down list under “Page Template.” Choose “Contact.” At the top of the right sidebar, under “Discussion,” uncheck the box marked “Allow Pings.” Now save your work and you’re done.

Easy and simple, but that’s about all you can get out of this method. I’m sure there are some other methods we could use to separate the comments left on our contact pages, but I’m not interested in building that, unless I can’t find a decent contact plugin.

Yes, I should probably be spending my time working on quality content for this blog and not being lazy and posting something like this, but maybe someone would actually like to use this.

So, any good contact form plugins? Something that doesn’t require a lot of work on my part? Something that looks, feels, and plays as nice as the WordPress commenting system?

12 Responses to “Simplest WordPress Contact Form”

  1. This looks fine. I’m using it now. However do I have to edit the “top-navi.php” whenever there’s a need to add a page?

  2. One thing tho, does the comments or messages goes straightly to my email account or it’s just a normal comment box? I tried to leave messages but it went through like a normal comment on my blog.

  3. “With this technique, no comments show on the contact page, but they show in my WordPress dashboard.”

    Ok I got it, so only me can see the comments when I’m logged-in at wordpress, right?

  4. K, yes, only you can see the comments on your Contact page through your WordPress dashboard. Not sure what your asking with “top-navi.php” though.

    This is really only a temporary solution for me, but it can be useful because you already have great spam blocking with Akismet.

  5. I use since ever intouch:

    http://adahas.com/work/intouch

    I really like it!

  6. Rudi, I’ve tried Intouch and have decided that it wasn’t what I wanted. I’m actually still using this idea right now. I’m loving it because it’s simple and I definitely don’t have spam because of Akismet.

  7. i use the wp-contactform plugin

    http://ryanduff.net/projects/wp-contactform/

  8. Thanks Paul, but I’ve tried Ryan Duff’s too. I’m actually enjoying using the method I’ve described in this post now.

  9. props. this is actually a great idea. i’ve always thought that contact forms were over shoot. the one i use on my website is sort-of nice, but it’s a great example of too many bells and whistles, it’s on right now and I haven’t quite finished the CSS on it… Anyways, I may give your idea a try.
    cheers

  10. Miguel
    I actually have another simpler idea that requires less coding if you don’t mind waiting a few more days for the tutorial.

  11. hi,

    thanks for this,

    i need help, my side bar ain’t visible

    http://www.rajeshrana.com/contact-me/

    regards

  12. Thanks for sharing this one. I might use it one of these days. :)

Leave a reply

Log in or Register



XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> 
<blockquote cite=""> <cite> <code> <del datetime=""> <em> 
<q cite=""> <strong>