Allow HTML in wordpress user profiles

December 5, 2008 · Print This Article

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

Your choice for site templates and wordpress themes


Got something to say?

You must be logged in to post a comment.