Scripts not working on my pages

  • Author
    Posts
  • #3219
    Deby

    Hi there from a newbie.
    My site is http://so-sew-easy.com/
    I want to showcase some of my products in my Etsy store on a page of my blog. I have set up a regular blank page. And copied this from the Etsy mini code generator.
    Summer ScentSations – bath and body products
    <script type=”text/javascript” src=”http://www.etsy.com/assets/js/etsy_mini_shop.js”></script><script type=”text/javascript”>// <![CDATA[
    new Etsy.Mini(6363217,’gallery’,4,5,1,’http://www.etsy.com&#8217;);
    // ]]></script>
    If I paste this into the html tab for the page and then preview the page, all I get is the text at the top and then a blank area. However if I copy the same code into a widget on the sidebar it displays correctly. So the code appears to be OK, it just doesn’t work when I put it in a page.
    I’ve also come across this trying to use Sell Media for WordPress – the code looks ok, but put it on a page and nothing shows up.
    I really am brand new and picked Mantra because I can do everything I need from the options, without any changing the CSS – which is a mystery to me. So I know I’ve not changed anything anywhere other than the options.
    Any ideas why these scripts don’t work on my pages please?
     

    #3224
    Zed
    Cryout Creations mastermind

    This isn’t theme related.

    This is how WordPress works. You can’t just type any kind of HTML into the content of posts/pages (for security reasons) when using the rich editor. Any input is sanitized on save.

    You can however switch to the text editor to type anything you want. But keep in mind that switching to the rich editor on that post/page at any time later will mess up anything you have typed in.

    See this.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Scripts not working on my pages’ is closed to new replies.