Home / loop / Submit to Digg
  • How to Submit to Digg


    Adding this snippet to single.php or index.php templates of your wordpress theme will allow people to automatically submit your post to digg with a single click.

    ( click code to copy )

    wordpress snippet : PHP

    <a href="http://digg.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" rel="nofollow" title="submit to digg" target="_blank">Submit to Digg</a>

    ( WordPress codex functions, hooks, in this snippet. )

    the_title, the_permalink,