WordPress Wednesday: Delicious Links

Delicious is a social bookmarking service that allows users to tag, save, manage and share web pages from a centralized source. With emphasis on the power of the community, Delicious greatly improves how people discover, remember and share on the Internet.

Lots of people use Delicious to store bookmarks online, and as a blog publisher you should want your readers to be tagging your posts there. Luckily for you, it’s ridiculously simple to give your blog’s visitors a quick “Add this to Delicious” link.

Just add this code to your single.php template and you’re done:

Bookmark on <a href="http://del.icio.us/post?url=<?php the_permalink() ?>&amp;title=<?php urlencode(the_title()) ?>" title="Bookmark this post on del.icio.us">del.icio.us.</a>

Tip: Use &amp; instead of just & so that your HTML will be valid!

Post the first comment:

I'll never share your email address and it won't be published.

What Is This?

davidgagne.net is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.


A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.


You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.