Updated: 3/9/2010
Bug fixed and captcha array created.

This plugin has been created to make it very easy to setup a contact form on your website. The plugin creates a form like the one on this page which is displayed directly below the editable content. You have the ability to set your email address and the captcha's question and answer.  

These are the editable options:
(Only edit what is inside the quotation marks.)

  • $sc_to = 'my@email.com'; // Your email address
     
  • // Create 3 questions
    $q1 = 'What is 4 + 8?';
    $q2 = 'What is the capitol of Texas?';
    $q3 = 'What is 5 - 1?';
     
  • // The answers relative to the questions
    $a1 = '12';
    $a2 = 'Austin';
    $a3 = '4'; 
     

The simple contact plugin is very easy to setup. 

  • Just download the plugin and then edit the settings at the top of the file.
  • Then, upload into the plugins folder.
  • Then create your contact page and select the template with the below code inserted. 
  • Add this into the template file you wish to display the form:

Method 1:
Add this code if you are already using the function get_page_content().
<?php if (function_exists('sc_show')) { sc_show(); } ?>

or
Method2:

Add this code above your <html> tag call.
<?php if (function_exists('sc_mail')) { sc_mail(); } ?>

And, add this anywhere on the page to display the form.
<?php if (function_exists('sc_form')) { sc_form(); } ?> 

DOWNLOAD THE SIMPLE CONTACT PLUGIN v1.1

Name:
Email:
Subject:
Message:
Captcha: What is 4 + 8?