How to Insert Line Break in Widget Title

WordPress, by default, does not allow HTML tags in widget title.  If you try to add HTML tags in the widget title, they will be stripped before the widget content is output. So if you want to add Line Break in the widget title, you will need to perform some code jugglery.

In this post I will share a simple technique which you can use to insert line break in the widget title. The concept is simple.

We will create a filter which hooks into Widget_title filter and dynamically add the break tag.

Read more