Archived topic
Lightweight grid columns plugin: Icon not appearing
24 replies · Started by Are Martin on June 9, 2015
I'm having a similar problem, FA Icons are not showing in my columns through the visual editor and I'm not using Page Builder.
Do you mean they're disappearing when you switch to "Visual"?
Try adding an HTML comment inside the icon HTML, for example:
<i class="fa fa-wordpress"><!-- icon comment --></i>
That should stop WordPress from stripping them :)
Unfortunately that didn't work.
I'll poke around with the plug-ins and see if there is a conflicting one
@Are,
Does this happen when Lightweight Grid Columns and Page Builder are the only two plugins activated? I can't seem to reproduce this.
Tried deactivating all plugins again, and when page builder and Lightweight grid columns are the only two plugins activated the icon appears as normal.
But when I also activate a plugin called Black Studio TinyMCE Widget with page builder also activated simultaneosuly the icon disappears again.
If I then deactivate either the black studio TinyMCE plugin or the page builder the icon reappears.
In other words... it appears to be no conflict with these two plugins separately... the problem occurs only when both the page builder and black studio TinyMCE widget are activated at the same time.
Bizarre.. I'll look into it and report back :)
Found the bug and fixed it.
To fix it without waiting for the update:
Find: add_action('admin_head', 'lgc_add_shortcode_button'); on line 38 of lightweight-grid-columns.php
Replace with: add_action('admin_init', 'lgc_add_shortcode_button');
Thanks for reporting! :)
You awesome!
What he said... ;)
I'll push out the official update ASAP - hopefully tomorrow :)
