View Single Post
  #18  
Old 04-10-2012, 06:56 PM
Matt Ecwid's Avatar
Matt Ecwid Matt Ecwid is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 4,947
Default

Quote:
Originally Posted by Steve Strickland1 View Post
Actually, I keep seeing extra code inserted everytime I update my page - and this is even doing it from an HTML box and not the WYSIWYG or html tab on the page in WordPress.
Well, it often happens that CMS text editors treat JS codes as an HTML and format them accordingly, so, as a result, they don't work. But there is a workaround. Please refer to the second part of this article:
http://kb.ecwid.com/w/page/48172585/...xternal%20site

It recommends to place custom JS scripts in a separate js file (or files) and call it from the page code. Moreover, such way gives another advantage - you can use the same external file in different places instead of pasting the same code into the pages one be one.

Please let me know if you have any question.
__________________
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials