• Is it possible to embed pre-coded javascript into a campaign?

    I have added the code to the message body but unfortunately it works too well. When the code is added, it takes over precedence over your plugin. The rendered javascript code is the only thing that appears.

    https://wordpress.org/plugins/icegram/

Viewing 1 replies (of 1 total)
  • Plugin Author Nirav Mehta

    (@niravmehta)

    Icegram does allow embedding inline JS or CSS. But you need to use the “text” tab in WP editor. If you switch to “HTML” tab, WordPress messes up the JS/CSS code you’ve added.

    Additionally, any JS code you add, will be executed on page load. So if you want delayed execution, you’d need to tap into Icegram’s JS events or do something when a button / link is clicked within an Icegram message.

    HTH.

Viewing 1 replies (of 1 total)
  • The topic ‘Embed Javascript’ is closed to new replies.