Thread Starter
sbore
(@sbore)
Just to add another observation… your addon shortcode works inside regular pages, but when inside a text widget for one of the special child them front page elements, it just seems get ignored =(
Hi, sbore
By default WordPress does not allow to insert shortcodes into standart text widget.
To enable this feature you can add this line for instance into functions.php of your theme:
add_filter('widget_text', 'do_shortcode');
With kind regards
Alexey
Thread Starter
sbore
(@sbore)
Alexey – thank you! Although after making that change, it seems the icons are now not showing properly due to the h4 tag I had for the text itself – the text part gets scaled, and I suspect the icon graphic does as well (but obviously not the background shape).
Is there a part of the shortcode setting that I missed that would allow me to scale it up better, including the background?
Icons are broken because text text widget automatically ads <br> tag as shown on this screenshot:
http://c2n.me/3u4kjul
You can try to use this widget option for fix:
http://c2n.me/3u4kvuz
Hi, sbore
Do you have any news about your issue?
Can I resolve this topic now?
With kind regards
Alexey
Currently I mark this topic as resolved. If you have other questions or comments you can reopen this topic or create a new one.