JS Error: Unexpected token

Hey guys, I’m getting a Global JS error on with a custom script. It was working a few days, but now the developer is telling us that this line is breaking it “<script id="x-custom-js">”. I’ll post all the details in a private note.

Hello @SWWD,

Thanks for writing in!

Please be aware that you are not allowed to insert “<script>” tag inside the custom JS section. Please go to Plugins > Add New and install “Insert Headers and Footers” plugin. Once installed, go to Settings > Insert Headers and Footers > Footers and this is the right place where you can insert your custom JS.

Best Regards.

Thank you, installing the Insert Headers and Footers plugin worked.

Hi @SWWD,

Great and you’re welcome! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

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