Tutorial Enable HTML markup in user profiles


Sponsored Links




User profiles in WordPress is the perfect ways to display our information, such as website, Yahoo Messenger and many more. You can add some description about yourself on WordPress Profiles too.

The problem is, default WordPress Profiles descriptions fields is limited some HTML markup, this is not good. But with some tricks we can remove this and we can customizing profiles, so our user able to include a hyperlink, bold text, or some other HTML markup. By default, WordPress prevents this from happening, but you can easily enable it with this friendly little snippet on your theme functions.php

Enable HTML markup in user profiles

Enable HTML markup in user profiles


Write Down Enable HTML markup in user profiles code below

// enable html markup in user profiles
remove_filter('pre_user_description', 'wp_filter_kses');

That’s it, and you are done, please note you need to disabled user registration, because this ability maybe will be use some SPAMMER to put some weird and BAD links, thanks for DigWP for share this

Subscribe to Full RSS Feed

RSS FeedIf you thing this article useful, please consider subscribing to our RSS Feed or e-mail updates and stay updated with us. You can also follow @WPTricksNet on twitter for latest updates.

About WP Tricks

We are WordPress Family, we collected and writed useful tips and tricks for you WordPress. We share it for you...

Related Tips and Trick from Local Data and on The Net


One Response to Tutorial Enable HTML markup in user profiles

  1. Pingback: Tweets that mention How To Enable HTML markup in user profiles # WordPress Tricks & Tips -- Topsy.com

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>