Digg integration with new url submission specifications. (4 posts)

  1. blackmath
    Posted 9 years ago #

    This was posted today about digg integration into your website from the owner of digg.


    How do you integrate that in with wordpress?

  2. Pizdin Dim
    Posted 9 years ago #

    People have been doing this for a while now with the various WP "social bookmarking" plugins. Have a look at those in the Codex. An alternate way of doing it is to stick this code in your template file, preferably within the loop, somewhere near where you say how many comments the post entry has:

    <?php if (is_single()): ?>
    <a href="http://digg.com/submit?phase=2&url=<?php echo get_permalink(); ?>&title=<?php urlencode(get_the_title()); ?>" title="Digg it if you can">Digg it</a>
    <?php endif; ?>

  3. blackmath
    Posted 9 years ago #

    Thanks ill give it a try.

  4. I found a plugin for this today over here: http://bill2me.com/blogging/wordpress/15/wordpress-diggimplementor-plugin/

    Basically it lets you easily add the javascript badge so people can digg your story. But, I wanted submission capabilities too, so I modified the plugin. My modified version can be found here: http://ottodestruct.com/wpstuff/diggImplementor.zip

    You can see what it looks like on my blog right now: http://ottodestruct.com

Topic Closed

This topic has been closed to new replies.

About this Topic