Simple WordPress & jQuery contact form
There are lots of WordPress plugins for contact forms, but wouldn’t it be nice to have more control over the markup? In this tutorial, I am going to show how to use a custom page template to create a contact form in WordPress without a plugin.
Some people may want to skip the post and get to the demo and source files:
View Demo Download Source Files
So, why not use a plugin?
Well, I think that a contact form is so simple that a WordPress plugin that doesn’t provide exactly what I want is pretty lame. Plus, I don’t need all those fancy interfaces for building the form; I just need the code.
Our plan is to create a custom WordPress Page Template, then create a page that uses that template. Finally, we will add in a little jQuery to improve the form. Let’s write a little pseudo code to help determine how our page template will be structured.
WordPress & jQuery Contact Form without a Plugin | Trevor Davis | Front-End Developer @ Viget.