Last time we talked about how to clear the input labels on Contact From 7 using a slight hack to the code. This is great for simply using input labels, but what about a text area? As I quickly found it, it doesn’t work.
Why is doesn’t work is because the text area is controlled by a different php file called textarea.php.
So if we open that file up and look on line 88 you will find this code:
$html = ‘‘;
We need to change it to this code:
$html = ‘‘;
Now save it and your text area will now clear itself when someone clicks on it.
Signed up For ClickTale
We are always looking for better ways to get data from the web. Clicktale is a pretty cool product that allows you to generate heatmaps of you site and find out what people are doing. There is a free trial. Check it out. www.clicktale.com
Adding WordPress 3.0 Menu support to your older site
I have come across this a few times when updating older sites to WordPress 3.0 that the fancy new menu system in WP3.0 doesn’t work. Fortunately, this is an easy fix. First off, you will be editing your functions.php file, so make a backup! Now, add this code to your funtions.php file: add_action( ‘init’, ‘register_my_menus’…
Having Multiple Footers in wordpress
Sometimes I like to have multiple footers for a site, or at least one for the homepage and one for the rest of the site. Fortunetly, wordpress makes this really easy to do. WordPress has a special template tag for including them into your theme: This function will accept only one parameter, a string, which…