137 posts Get in the spotlight
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Halloween Competition Winner
  • Has been a member for 4-5 years
  • Most Wanted Bounty Winner
+2 more
FamousThemes says

Hi,

Wanted to ask some opinions about how you guys deal with HTML text added into custom widgets textares.

From my side, I receive a lot of messages from users telling me they want to use all HTML tags inside widgets.

Are you using some custom options in admin to enable/disable using HTML in widgets textareas?

Are you using sanitization functions like

echo wp_kses( $content, array(  
    'strong' => array(),  
    'a' => array('href')  
) );  

and let them use some of the HTML tags?

Or you tell them is not safe to use HTML tags inside widgets.

Any other ideeas?

Thanks.

by
by
by
by
by
by