Support » Plugins and Hacks » Add the StumpleUpon button

Add the StumpleUpon button

  • Also add the StumbleUpon button to this great plugin.
    Take the first button from here: http://www.stumbleupon.com/dt/badges/create

    Or here’s the universal code for the Stumble Upon button:

    <!– Place this tag where you want the su badge to render –>
    <su:badge layout=”1″></su:badge>

    <!– Place this snippet wherever appropriate –>
    <script type=”text/javascript”>
    (function() {
    var li = document.createElement(‘script’); li.type = ‘text/javascript’; li.async = true;
    li.src = (‘https:’ == document.location.protocol ? ‘https:’ : ‘http:’) + ‘//platform.stumbleupon.com/1/widgets.js’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(li, s);

    Pls, don’t forget to add rearrangement/sorting to the buttons, either by drag and drop, or by simply adding boxes with position numbers (1, 2, 3)…

    Thank you for this great plugin!


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add the StumpleUpon button’ is closed to new replies.