How to: Allow HTML in user profiles

Do you run a multi-author blog? If yes, you’re probably upset to be unable to use any html in user profile. Happilly, here’s a little recipe to allow html in user profiles.

To be able to use html in user profiles, simply append the following line of code to the functions.php file from your theme. (Create that file if it doesn't exists)

remove_filter('pre_user_description', 'wp_filter_kses');

That's all, authors are now allowed to use html in their profiles!

Thanks to Joost de Valk for this awesome recipe!

5 Responses

Dec 04 2008 16:03

Awesome! Thank you!

Dec 05 2008 00:53

awesome guide pal, just bookmarked your blog! :)

Dec 16 2008 13:38

exactly what I as looking for. Thank you :)

Trackbacks:

Leave a Comment

* Name, Email, Comment are Required