As I searched for a simple, reliable, and most important, working contact form plugin for Wordpress I was stumped to find no really attractive alternatives.
Either they were not working properly, or they were too complicated, so I decided to make my own.
Thus WP Simple Contact Form.
Features
- Form validation and detailed UI feedback on error
- Captcha that should work on most setups with GD library installed
- Language file for easy localization
- Admin option page where some basic options can be set
- Simple to install and use
Demo
See the contact form on this blog.
Download
Latest version: wp-simple-contact-form
Installation
- Download the file: wp-simple-contact-form
- Unzip and upload to your plugin folder
- Activate plugin in the Admin panel
- Go to the options page and enter the desired options
- Create a page and add the text
[ wp_simple_contact_form ] - Done!
Localization
If you wish to localize the contact form, open the original language file in the plugin folder (sv_SE.php), add your translations and save the file as language_code.php, as defined by WPLANG in wp-config.php .
If you create your own language file, please consider posting it as comments here for others to user.
Changelog
0.9 (11/12 2009): First release. Basic functionality.
0.9.2 (14/12 2009) : Small bugfix


how to remove borders? Hmmm…and when i try to send I’ve got error…??
The error on send should be fixed now. The borders can be removed by editing the form.css file.
Regards
I’ve installed again this plugin…and i think more better before older version,
I would ask… where message I’ve posted?? I can’t see in my inbox email when I test it…
(it’s so hard to find contact plugin who can works well)
Thnks…
Did you enter your email in the settings page? Look in the Admin Panel Options, and there your should find the WP Simple Contact Form options.
Good luck,
Oh…Ok!….my message has come now … no problems with a long time to receive a message … because this plugin works well … I have a plan for a post with the success of this plugin … I wait for the continuation of the next version.
thanks
hey there,
very nice plugin, thank u so much !
can u send me ur css file ? ( of ur form ) ,because my form css is not good
thank U
hace a nice day
an another question,
wwhere must I place the language-code.php ? in the same form directory?
I re write the fields of svSE file but it doesnt see the changes, please help! thank u
I again ! : )
i have a fatal error !
Fatal error: Call to undefined function getip() in /www/docs/xxxxx.com/public_html/wp-content/plugins/wp-simple-contact-form/wp-simple-contact-form.php on line 95
what can be it?
Install went good, but I dont like the font colors, is there a way to change them?
oh wait never mind I found it. OMG I just made my first PHP file code change!!!
Change getip() to $_SERVER[REMOTE_ADDR] and you should be fine.
Just installed as instructed and I’m getting this message…
Fatal error: Call to undefined function getip() in /home/content/64/5213264/html/wp-content/plugins/wp-simple-contact-form/wp-simple-contact-form.php on line 95
See my above comment
Install went good, but I dont like the font colors
Hello … At first, I got the same fatal error as Roman, but I followed your instructions and changed the line to:
$fullmsg .= “IP: “.$_SERVER[REMOTE_ADDR];
However, when I try to send a message from the site, I get this response:
There was a problem sending your message, please try again!
I’ve made sure my correct email is entered in the Form options, and it still doesn’t work.
Can you think of anything else I may be doing wrong?
@Barbara:
I think that it might be some problem with the settings of your webhost, since that error message signifies problem with sending the actual mail, something that is handeled by the server.
Verify the email adress and try again. If the problem persist you might want to contact your webhost.
Everything works fine except one thing… When I specify “Send completed form to” and submit form, nothing happens. Error messages shown at every field and they are empty…
When I sad empty fields, I mean contact form, not admin form!
Hi,
In the instructions “Create a page and add the text [ wp_simple_contact_form ]”
Where do I put the text and is the text without the brackets or with?
thanks
patobrocks: just add the [ wp_simple_contact_form ] to the post body, with the brackets. Use the editor in HTML mode (source code mode).
Hello my friend.
I found some security problems in the html encoding tag characters in your script.
In part / / Generate form:
Replace :
‘.$_POST['Sender_name'].’
by
‘.esc_attr($_POST['sender_name']).’
‘.$_POST['Email'].’
by
‘.esc_attr($_POST['email']).’
‘.$_POST['Subject'].’
by
‘.esc_attr($_POST['subject']).’
‘.$_POST['Message'].”
by
‘.esc_attr($_POST['message']).’
________
For more informations : http://codex.wordpress.org/Function_Reference/esc_attr
And sorry for my english… i’m french.
Bye and good fix.
[...] WP-Simple-Contact-Form-with-Captcha [...]
Hi,
I’m probably missing something very simple here, but I don’t understand how I can change the form into Spanish.
I’ve changed the sv_SE file, but in the wordpress editor thingy. I’m not sure how to save it or change the name. I’m not using a personal server and everything I install, installs right away online, so not first on my computer.
Any help (preferably in easy terms) would be greatly appreciated!
Thank you!!
I have installed this form on my website, but I can’t get the grey border to go away, I’ve stripped the CSS file of all borders and have looked all over the theme’s options and nothing is working. Any suggestions? TIA
Not working. Form produces validation errors indicating that fields are empty, even when all fields have been completed.
So far so good but if I hide a page in WP it shows up in the menu at the top when I go to the Contact Us page. Any ideas?
Thanks
I translate the file into french but the form is still in english
I’ve installed the plugin but the captcha doesn’t work.
I went to your website and it said: “Captcha that should work on most setups with GD library installed”
Where can I find or install the GD library?
I’m sorry but i’m new with wordpress.
thnx alot!
GD library is something that you webhost can install/activate (if you have managed hosting). You can find out wether it is activated or not by running the phpinfo() command and look for GD library.
function writeCSS() {
$path = WP_PLUGIN_URL.’/’.str_replace(basename( __FILE__),”",plugin_basename(__FILE__));
echo ( ‘ ‘ );
}
This code is in the wp-simple-contact-form/wp-simple-contact-form.php file. The <link tag was missing the closing /
It was causing some minor problems on my blog, but it was an easy fix!
Thanks for the awesome, simple plugin!
i have installed this plugin…
after click on submit button…i am not receiving any mail..
please tell me what is the reason…??
Thanks
thanks for the script but i keep getting this message
There was a problem sending your message, please try again!
any clues?
thanks Gerrit
Thank you for this awesome, simple plugin!
I have translate it into RO language. If you would like to add it in the plugin folder please let me know and I’ll send it to you.
It works perfect with WP 3.1
Thanks Again!
Hey this is working just fine.
Thanks for developing, and sharing it.
It’s greatly appreciated.