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.
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
Awesome! Thank you!
awesome guide pal, just bookmarked your blog!
exactly what I as looking for. Thank you
Trackbacks: