Before you ask please READ THIS

Can you please add HTML formatting to contact widget

edited March 2014 in Superior Posts: 66
For the contact widget, I would like to have my company name and address stacked on different lines so I've added

and <br> but the widget doesn't accept the formatting and it goes back to the formatting with no breaks once I click save. Can you add contact widget formatting to an upcoming update?

Thanks for your help.

Screen Shot 2014-03-04 at 8.31.53 PM.png
270 x 197 - 15K
Post edited by Air on

Comments

  • AirAir
    Posts: 10,970
    Hello

    Go to advance/widgets.php line ~775 and change
    $instance['content']= strip_tags($new_instance['content']);
    to
    $instance['content']= $new_instance['content'];

    Will be added in next version.

    With regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion