Add contact form into wordpress blog

Sometimes we need to add ability for our wordpress to be able receiving a contact message from our user. Here we need a contact form plugin to be installed on our blog. What input do we need for good contact form? I think this contact form has following item :

  1. Input Name, Email, Message from the user
  2. Optional to have a subject selection
  3. Important that it has spam filter build in to protect our site from spammer

So i look into some plugin for wordpress, and found one that sufficient enough to provide this capability. I took a contact form plugin from this site or download link.

The additional feature of this plugin that it is easily to add into our posts or pages. by adding this code, we can show the contact form on our blog.

<?php wpcontactform();?>

Installation is as usual,

  1. We put this plugin into plugin directory ( wp-content/plugins )
  2. Enable or activate it through Plugins Menu on admin area.
  3. Go to Options > Contact Form and fill in the information.
  4. Change the challenge question and answer if you’d like ( spam filter ).
  5. You can built a list drop-down of subjects by typing in your subjects delimited by a pipe character (Option A | Option B | Option C).

My recommendation is to build a page template in your theme and then assign it to your contact page.


Artikel terkait

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution.