How to add social bookmarking in wordpress

In the entry Let Your Blog Be Social nongeek talked about the advantage of social bookmarking and how to add bookmark area in blogger’s template. You can also do that in wordpress too, using the same way he said in that post, but substitute Blogger’s template tags with wordpress’s tags. For example, if you want a “Submit to del.icio.us” line you should add

Submit to: <a href="http://del.icio.us/post?url=<?php the_permalink()
?>;title=<?php the_title(); ?>" >del.icio.us</a>

instead of

Submit to: <a href="http://del.icio.us/post?url=<$BlogItemPermalinkURL$>;title=<$BlogItemTitle$>"
>del.icio.us</a>

to your template’s php file before or after the line <?php the_content('something'); ?> depending on if you want it to appear before or after the posts.

If you want to submit to Digg there’s a great WordPress plugin called Digg This for WordPress Reloaded that lets you to add a very cool “Digg This button” like the one I have in the posts, without changing the template’s codes. It also comes with a Complete admin interface with options for many customizations, like positioning the button, what pages to show the button, the style of the button , and many others.

One thought on “How to add social bookmarking in wordpress”

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=""> <s> <strike> <strong>