WordPress Code Snippets

A fresh mix of code snippets and tutorials

WordPress Allow HTML in Author Bio


By default, WordPress filters out any markup included in the description (bio) of user profiles. Here is a code snippet to allow HTML in author bios.

Very simple, just add the following code to your plugin or theme’s functions.php file:

What this does is use remove_filter() to disable the wp_filter_kses filter from the user description. Once included, this code will let you or any user add markup to their profile description.

Learn more

WordPress Themes In Depth

Show Support

Like our new Facebook Page to show support!