Javascript Being Removed in Text Element

We have some 3rd party code from a vendor that we need to add to our site. When we add it, it appears fine and works good when logged in to our admin account. However, if you view as an end-user, the code is completely stripped out and will not appear. It appears the theme itself is aggressively stripping code.

For example, I put this code:

<div class="pp-tickets" data-width="600" data-event="110869" data-sid="Facebook"></div>

And it strips to this:

<div class="pp-tickets"></div>

http://foodwinemusicvero.com/saturday-open-air-tasting/

For example, I put this code:

< div class=“pp-tickets” data-width=“600” data-event=“110869” data-sid=“Facebook” >< /div >

And it strips to this:

< div class=“pp-tickets” >< /div >

However in the back end it is correct.

Hi there,

The text element is not meant to contains JS codes.

Please try adding them in a Raw Content element.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.