This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

The Style tag renders as content in Inked Accordion

Open 1 reply generalquestion
10 years ago · Last reply by krousen56 10 years ago

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

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. krousen56 10 years, 1 month ago

    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.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread