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 = array(
‘comment_notes_after’ => ”
);
return $args;
}
3. then replace <?php comment_form();?> with <?php comment_form( my_comment_form_args($user_identity, $post->ID, $req) ); ?> in your comments.php file. That should be the last line.

Thats it.

To see the full thread, visit http://wordpress.org/support/topic/solved-allowed-tags-in-comment-form

Signed up For ClickTale

By Dave Fogel | January 12, 2011

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

By Dave Fogel | January 12, 2011

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

By Dave Fogel | January 11, 2011

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…

Posted in

Dave Fogel

Leave a Comment