Compact Digg button for WordPress

A code to embed a compact Digg button (as shown in Figure 1) in WordPress.

Figure 1

Figure 1

<script type="text/javascript">
  digg_url = '<?php echo get_permalink(); ?>';
    digg_title = '<?php the_title(); ?>';
    digg_skin = 'compact';
    digg_window = 'new';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript">
</script>
If you are new here, you might want to subscribe to the RSS feed or newsletter.

Enter your email address:

Related

This entry was posted in WordPress and tagged , . Bookmark the permalink.

One Response to Compact Digg button for WordPress

  1. T-Law says:

    Hey, big thanks it works.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>