Awesome Delicious Bookmark Button With Counter for Blogspot and WordPress Plugin

All have been waiting for an official delicious button with counter, but there's no response from Delicious guys about launching new button. All we have is the still old button. But don't worry, bloggers, here comes awesome delicious buttons with counters, both for WordPress and Blogger (blogspot). Deepu Balan - a blogger from came to rescue of delicious fans with an awesome delicious bookmark button with counter in the form of WordPress plugin. Well its his first WordPress plugin :) This button counts real-time count of how many times your page has been bookmarked in delicious Don't worry Blogspot bloggers, I've also included the tutorial for you guys.

Delicious bookmark button with counter for WordPress

How to add them in post page of wordpress?

    Step 1: Download this plugin from here and upload it to plugins folder of your WordPress blog.
    Step 2: Activate the plugin and then open the single.php file of your WordPress theme. (ie: /public_html/wp-content/themes/THEMENAME/Single.php directory of your WordPress installation).
    Step 3: Now add the short-code  <?php delit_normal(); ?> for normal button or <?php delit_compact(); ?> compact version to suitable location inside Single.php file of your WordPress theme.

You may add it just after the below code if you want the button to appear at the bottom of the post, or add the short-code above the below code if you want the button to appear at the starting of the post.

<?php the_content(__('More &gt;', 'mystique')); ?>

Delicious bookmark button with counter for Blogger (Blogspot)

How to add them in blogspot post?

Step 1: Login to Blogger Go to (Dashboard ? Layout ? Edit HTML ? Press Ctrl+F) Now find for ]]></b:skin> and place the below css before it and hit save template


height: 45px;
background: url( no-repeat;
font-weight: bold;
font-size: 16px;
margin:0 auto;
margin:0 auto;
line-height: 17px;
.delicious-b a:link, .delicious-b a:visited{
background: url( no-repeat;
display: block;
.delicious-b a:hover{
background: url( no-repeat center -17px;
display: block;

Now you have to place the code for button to make it work. Make sure you have checked the "expand widgets" templates and now search for the below line.


Once you find the above line, add the below code just after that line.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='share-delicious'>
<div class='delicious' id='delic'>0</div>
<div class='delicious-b'><a expr:href="&quot;; + data:post.url + &quot;&amp;title=&quot; + data:post.title" target='blank'>delicious</a></div>
<script type='text/javascript'>
function delic(info) {
if(!info[0]) return;
var num = info[0].total_posts;
if(!num) return;
var delic = document.getElementById(&#39;delic&#39;);
delic.innerHTML = &#39;&#39; + num; = 0; &#39;6px&#39;;
<script expr:src='&quot; &quot; + data:post.url + &quot;&amp;callback=delic&quot;'/>
<div class='clear'/>
Did you like the tutorial? Leave your comments


  1. [...] Awesome Delicious Bookmark Button With Counter for Blogspot and WordPress Plugin [...]

  2. Even though they took such a long time, I'm happy that its finally here. I'll sure put it up on my blog and see how it works out.

Comments are closed.