Why does the HTML code I am adding in a text box from Shootproof not working?

  • Author
  • #1538072

    I am trying to add a website widget for gallery access in the form of an HTML code in a text box. For some reason, when I hit save, the code gets shortened and then does not show up properly on the previews.
    I would really like to add the HTML code to a page so that it is the only thing that shows up on my page for clients. Is that possible?

    The blog I need help with is haveyourcakephotography.com.



    Hi Maria,

    It likely includes code that’s not permitted on WordPress.com for security reasons:

    If Shootproof provides a plain HTML widget, that will work. Otherwise, you could use a Text Widget or Image Widget to display a Shootproof image and link in your sidebar.

    Let me know if you have further questions!


    Thanks for your response. I did try using the text box widget and that was where it kept cutting off. I will try the image widget and also ask Shootproof for an HTML widget.


    Yes, Eurello.
    Just tried all 3 suggestions above and none work.
    The plain HTML keeps getting deleted or cut short on not the text and image widgets.



    Hi Maria – What’s the HTML you’re trying to use?


    Here is the HTML.

    <script type=”text/javascript”>var _cb = parseInt(Math.random() * 99999999);document.write(‘<sc’ + ‘ript type=”text/javascript” src=”http://haveyourcakephotography.shootproof.com/remote/chooser?events=0&email=1&cb=’ + _cb + ‘”></sc’ + ‘ript>’);</script>

    Thank you!



    Hi Maria – That text includes Javascript, which is stripped out of WordPress.com for security reasons. I’m not very familiar with Shootproof, but if you want to link people to any sort of publicly visible page you have there, you might upload an image to use for the widget to your Media Library. Then, use a plain text widget to link that image to your Shootproof page. The code would look something like this:

    <div><a href="http://myshootproofpage.com/"><img src="http://haveyourcakephotography.files.wordpress.com/2013/11/shootproof.jpg" /></a>

The topic ‘Why does the HTML code I am adding in a text box from Shootproof not working?’ is closed to new replies.