Forums

Need to place "Digg This" button in post, and needs to work with new Digg API (1 post)

  1. slobizman
    Member
    Posted 3 years ago #

    I like to have the standard Digg This button at the top position of some of my better posts. Digg just changed the API and now this is what I now put in to do it, manually for each post:

    <div class="left"><script type="text/javascript">
    digg_url = 'http://mydomain.com/post';
    </script>
    <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script> </div>

    I do not want to hack the code. I'd love to have a simplier way to do this. I cannot find a plugin that allows me to place the Digg Button anywhere in the post I would like. I can't have a plugin simply place it in the first position of the post because often I have a left-adjusted image in that spot and the Digg Button has to follow that, not precede it.

    Is there a plugin, that works with the new API, that let's me just put in some shortcode to place the Digg Buton?

    Short of that, is there a way I can replace the URL portion of that code above with something that says "URL for this post" and use it right in the post?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags