How to add social bookmarking in wordpress

November 14, 2006 by angelchen1111
Filed under: 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.

Comments

One Comment on How to add social bookmarking in wordpress

  1. Alex on Wed, 25th Apr 2007 5:59 pm

    Thank You

Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!





Bad Behavior has blocked 265 access attempts in the last 7 days.