Can’t break the title?
-
When I want to force breaks or markup in a widget title, I’ll implement a function that turns shortcodes into markup on the front end (eg, [br] = <br>).
As it turns out, it seems this plugin functions by outputting shortcodes. When I implemented my [br] into the widget title, the front-end display was:
fa-star (mind you, this is not the icon I had selected) Icon Widget Add a short description. Personal Representative" content="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam convallis rhoncus." icon="fa-home" weight="default" size="2x" align="center" color="#333333" ]
It seems clear my shortcode <br> function won’t work, and hook solutions don’t seem to working (I assume because the plugin’s “widget title” isn’t actually a core widget title).
I’ve tried a bit of shortcode “oakie rigging”, even tried to create a function based on your plugin’s code, but I couldn’t quite pull it off. Do you have a suggestion that would allow me to force a line break in the widget title? This is an otherwise perfect plugin and I’d hate to have to hard code these little boxes over such a little matter.
Thank you!
- The topic ‘Can’t break the title?’ is closed to new replies.