Add Custom Bookmark Links


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. //Delicious
  2. <a title="Bookmark this post at Delicious" rel="nofollow" href="http://delicious.com/post?url=&lt;?php the_permalink(); ?&gt;&amp;title=&lt;?php echo urlencode(get_the_title($id)); ?&gt;">Bookmark at Delicious</a>
  3.  
  4. //Digg
  5. <a title="Submit this post to Digg" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=&lt;?php the_permalink(); ?&gt;">Digg this!</a>
  6.  
  7. //Twitter
  8. <a rel="nofollow" href="http://twitter.com/home?status=<?php echo urlencode("Currently reading: "); ?><?php the_permalink(); ?>" title="Share this article with your Twitter followers">Tweet this!</a>
  9.  
  10. //StumbleUpon
  11. <a title="Share this post at StumbleUpon" rel="nofollow" href="http://www.stumbleupon.com/submit?url=&lt;?php the_permalink(); ?&gt;&amp;title=&lt;?php echo urlencode(get_the_title($id)); ?&gt;">Stumble this!</a>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.