Adding a custom widget???

  • Unknown's avatar

    Is there a way to add a widget of another type? I was able to get widget code from another site that I use and wanted to add it to my blog if able. Thanks.

    <div class=”sendage_widget_container” data-type=”user” data-user-id=”josh-cox” data-compact=”1″>Loading…</div>
    <script type=”text/javascript”>
    (function() {
    var sjs = document.createElement(‘script’); sjs.type = ‘text/javascript’; sjs.async = true; sjs.className=”sendage”;
    sjs.src = (‘https:’ == document.location.protocol ? ‘http://’ : ‘http://’) + ‘sendage.com/js/widget.js’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(sjs, s);
    })();
    </script>

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

  • Unknown's avatar

    The software will strip out all JavaScript code you post out to preserve security. See here please > http://en.support.wordpress.com/code/

    Add Code to Your Site

  • Unknown's avatar

    Thank you for the quick response, I’ll have to go back and look, but it is likely that it is javascript, so a no go.

    Thanks again!

  • Unknown's avatar

    You’re welcome. Blogger posted JavaScript is a huge security risk on a mulituser blogging platform. One instance of bad script could bring down many blogs.

  • The topic ‘Adding a custom widget???’ is closed to new replies.