Many websites today will not have labels next to their input boxes anymore. Instead they place the text inside the input box. Contact Form 7 plug in can do this out of the box, but the user has to erase what is in the box before they can type in their information. This is a) annoying and b) not user friendly at all. Fortunately there is a hack that makes this work. Special thanks to emj for this solution.
Note that this is a bit of a hack, so not sure how it will work as you upgrade to newer versions.
First: add this javascript to header.php
Second: in the contact form 7 plugin folder, edit file /modules/text.php
Third: find line 76
$html = ‘‘;
Fourth: between ‘input’ and ‘type’, add:
onFocus=”clearText(this)” onBlur=”restoreText(this)”
That should do it. It isn’t perfect, but it works pretty well.
Setting up Rel Author
We might be a little late on this one, but it is worth setting up your rel author tags on Google plus. Google is very much looking at this type of information for rankings now, so it makes sense to get it done. There are several places to learn how to do this. Here is…
Adding A Featured Image To A Page In Genesis
After looking around the web for a good tutorial, I really couldn’t find what that accomplished what I was looking to do. It sounds simple. I want to add a featured image to a page in Genesis. No problem right? Not exactly. Genesis doesn’t work like a normal wordpress site, but then if you are…
Disable Auto Format in wordpress
This is a great trick I found today while working on a problem for a client. What was happening is that wordpress was wrapping her image in paragraph tags and causing it not to float right with text wrapping around it. The solution was to add this to the functions.php file. (note, make sure you…