I a thread in the
bug-reports, but I thought I would repost this so everyone can read it!
I’m using Widgets for SiteOrigin’s Inked Accordian widget on a page, and I placed a gallery shortcode inside each Accordion tab.
The widget works as expected, as does the Gallery and its lightbox function, but I can see actual CSS printed on the page. The
<style>tag’s contents render as text.
How do I fix this?
Here’s the page.
HELP!
Thank you in advance
Krousen56
I solved the problem, well I fixed it using a plugin. The problem is WordPress’s Gallery shortcode outputs a style tag with each image thumbnail. This is illegal in html5.
There is a plugin to fix this: “Gallery Shortcode Style to Head”. This plugin places the style tag in the head, where it belongs.