By default, for security reason, WordPress filters out any markup included in the description (bio) of user profiles. Here is a code snippet to allow HTML in author bios.
remove_filter('pre_user_description', 'wp_filter_kses');
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.
After insert this code snippet, we can use HTML code in Author Box.
Credit:
Leave a Reply