Need help? Check out our Support site, then


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

  1. haveyourcakephotography
    Member

    Hello,
    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?
    Help?!

    The blog I need help with is haveyourcakephotography.com.

  2. Hi Maria,

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

    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!

  3. haveyourcakephotography
    Member

    Eurello,
    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.
    Thanks!

  4. haveyourcakephotography
    Member

    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.

  5. Hi Maria - What's the HTML you're trying to use?

  6. haveyourcakephotography
    Member

    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!

  7. 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>

Topic Closed

This topic has been closed to new replies.

About this Topic