Hi,
thanks for your nice words.
May I ask how exactly you would want this icon inclusion to function? A seperate field just for an icon or just so that the tab title field would allow HTML and you can input the HTML for whatever you want (in your case an icon).
We would like to keep this widget as light a possible, so we will not include any icon libraries like Font Awesome or something similar, but I could see a solution in allowing HTML in tab title…
Let me know, what you think.
Take care!
Hello Capuderg,
Impressive response time.
Personally, I think a separate field just for an icon will be ideal considering that it is promoting drag-and-drop approach. Also that is what akternative plugins are providing. However, you do have a very strong point about keeping the weight light, thus totally negating my initial thought.
The option of providing HTML enabled title-field is certainingly a resolution. The only implication i foresee is the slightly steep learning curve for drag-and-drop users. But the fact that your plugin provides enormous possibilities may be enough encouragement to learn how to implement it with HTML/CSS.
For me, either way, the feature is provided and it further places your plugin over the crowd.
Thanks
Hi,
thanks for letting me know about this feature request… I’ll consider implementing this, if other users will also wish for it. For now I’ll add it on my list for possible improvements.
Anyone else reading this post, please feel free to let me know, that you would want this functionality added to the plugin.
Take care!
Hello Capuderg,
Sounds good and fair by me. Exploring oher walkaround in the meanwhile.
Thanks.
Hi,
you could edit the plugin itself, to allow HTML output (but editing plugins is not recommended).
You could try to edit the plugin, by editing this file /inc/class-tabs-widget.php and finding this line:
$instance['items'][ $key ]['title'] = sanitize_text_field( $item['title'] );
and change it to this:
$instance['items'][ $key ]['title'] = wp_kses_post( $item['title'] );
Take care!
Thanks Sir,
It works: the Tab Title now allows html output. I sure underestimated the volume of work to get the Icon displayed perfectly. Still battling with it but wanted to appreciate the workaround you have provided. I now really hope the demand for a drag-and-drop solution would be enough for a consideration.
Your response time is impressive by the way.
Thanks.