Problem with script code
-
I was trying to add a script code for my etsymini into an html widget. Everytime I clicked on save, the code would shorten.
I also tried installing it into the html page in the edit window of a post, same thing happened.
I know the script works, because it installed fine on my Squarespace website. I also tried it in various themes, including the WP default theme and it always shortened when I clicked on either save in the widget or publish in a post.
Any idea what might be going on?
Here’s the script.
<script type=’text/javascript’ src=’http://www.etsy.com/etsy_mini.js’></script><script type=’text/javascript’>new EtsyNameSpace.Mini(9152349, ‘shop’,’thumbnail’,4,4).renderIframe();</script>
Here’s what it shortens to
new EtsyNameSpace.Mini(9152349, ‘shop’,’thumbnail’,4,4).renderIframe();I’m just trying out a theme on the WooThemes test site here:
http://test.woothemes.com/artplates/Thanks if anyone has any ideas.
The topic ‘Problem with script code’ is closed to new replies.