• Resolved camillecc

    (@camillecc)


    Hi,

    I used the plugin to add a header javascript. At first it was fine. Today I changed the Javascript and now it is broken (js is displayed at the top of the page). If I revert to the same js I had before (and that worked), the same thing happens. Can you please let me know how to fix this?

    Thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @camillecc,

    Your code is either missing the <script> tags or you need to switch the code type to JavaScript in the WPCode snippet settings.

    If you are adding the code using the Header & Footer area you will have to wrap your code in <script></script> tags as that area is meant for HTML code.

    Thread Starter camillecc

    (@camillecc)

    Oh wow can’t believe I missed this. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Javascript injection broke’ is closed to new replies.