Subscribe to the RWT RSS Feed

RWT Webmaster Tools Blog

Resources and Tools You Can Use

 

Add a contact form to a WordPress Blog

With the onslaught of spam, webmasters have used a variety of tactics to hide their email addresses from spambots.

There are several methods to accomplish this.

  1. Don’t display any email address. But then no one could contact you.
  2. Display email address as an image. But this is not user friendly
  3. Encode your email address. This works, but adds a ton of code to a page.
  4. Add a contact form.

If you have a WordPress blog, Ryan Duff has created a very slick plugin to add a contact form to any page or post of your blog.

Installation is simple.

  1. Download the zip file. Make sure you download the correct version. He has a version for WordPress 1.5 versions or WordPress 2.0 versions.
  2. Extract the file.
  3. Upload the contents of the zip file into the plugins folder. If you drag and drop the extracted contents, simply grab the folder. This will create a subfolder within plugins called “wp-contact-form”.
  4. Activate the plugin from the Plugins menu within WordPress
  5. Go to Options
  6. Select Contact Form
  7. Add your email address, etc.
  8. Make sure the Contact Form quicktag is checked. This will add a button to the post/page functions.
  9. Create a contact post/page.
  10. Add necessary text
  11. Click the “Insert Contact Form” button wherever you want the form to be placed.
  12. For an example, look at the contact form on this site.

Slick and simple.

[tags]wordpress, contact+form[/tags]

comments / trackbacks

One Response to “Add a contact form to a WordPress Blog”
  1. whoa! this is really cool. I’ve seen the sample and it really looks good. Do you have other format for contact form?

Leave a Reply