Enhanced WordPress contact form plugin
The original contact form plugin by Ryan Duff was cool (no link since the page is down), as it made a simple drop in contact form for your site. I've used it for a lot of my sites and was always quite happy with it. I just wanted a few simple additions: the referring page on the site, which made people decide to contact me, and the original referer, showing from which page or search engine they came. So I adapted his original, and thus came to be the "Enhanced WP Contact Form".
The script now adds:
- referring pages on your site
- if one or more of the original referrers is a search engine, the keywords used in the query
- the original referrers
- spam protection (since 1.1)
- the option for the e-mailer to send himself a copy of the message (since 1.1)
It works like this: download it, unzip it, put it in your plugins folder, activate and enter your e-mail address in the options panel, and you're all done!
Enabling the plugin
Add [wpcf] to any post or page to add in the contact form.
Styling
I use this CSS to style my contact form, adapt as you wish of course:
#wpcf label {
clear: both;
display: block;
float: left;
width: 150px;
}
#wpcf input {
float: left;
width: 200px;
padding: 1px;
margin: 2px 5px 2px 0;
}
#wpcf textarea {
width: 350px;
height: 100px;
padding: 1px;
margin: 0 5px 10px 0;
}
#wpcf #contactsubmit {
margin-left: 250px;
width: 100px;
}
Support me
If you like this plugin and want to support me, check out my donations and support page!












