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.
Removing “Allowed Tags” on the comment form.
This solution is from the wordpress forums from Emsi. It is not guaranteed to work on all themes, but it did work fine for me on my theme based on twenty ten. Follows these steps: 1. back up your functions.php file. 2. Add the following to your functions.php file function my_comment_form_args($user_identity, $post_id, $req) { $args…
How to remove the website field from the comment form
I had a customer request to remove the website field in the comments. You would think this would be a relatively simple thing to do, but not so. After an hour of searching, I found a solution that worked great. Here is the link. http://techhacking.com/2011/02/04/wordpress-how-to-remove-the-website-field-from-the-comment-form/
Google Website Optimizer and WordPress
Today I started a test using Google Website Optimizer on WordPress. The manual way of doing this would mean you would need to create 3 different headers and input the correct tracking code in each. While it is not a ton of work, it is a pain in the butt. The better way to do…