embedding a woo box offer

  • Unknown's avatar

    Apparently if I insert this below on the “text” tab of a new post, it should show the photo contest I have created in Woo box, but the post only shows this language…However, it does say to insert after opening a body tag. I have not found out how to open a body tag and after reviewing woo box forums, I see that many people have problems inserting woo box promotions on their blogs. If you can help, it would be wonderful.
    <div id=’woobox-root’></div>
    <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = “//woobox.com/js/plugins/woo.js”;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, ‘script’, ‘woobox-sdk’));</script>
    <div class=’woobox-offer’ data-offer=’u3v86a’></div>

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,

    Code like the Javascript code you posted for that Woo box can’t be used here at WordPress.com, for security reasons. We have more about that here: Code

    Also, if you’re looking at options for showing promotions on your blog, please take a moment to review our advertising guidelines for WordPress.com sites: Advertising

    Please let me know if you have any questions about that. :)

  • The topic ‘embedding a woo box offer’ is closed to new replies.