How To Share A Blog Post Without A Plugin

07.06.09 by Jerome in Tutorials

How To Share A Blog Post Without A Plugin

If you don’t want to use any sharing or bookmark plugins to help you share your latest blog post, I have come up with a list of the most popular sharing website links that you can drop at the bottom of your post. The examples are simple text links but of course you can add your own social bookmark icons.

Open your single.php page, just below:

and add links of the most common bookmarks and sharing websites.

Digg

<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Share this post on Digg">Digg</a>

Twitter

<a rel="nofollow" href="http://twitter.com/home?status=<?php the_title(); ?>+<?php the_permalink() ?>" title="Share this post on Twitter">Twitter</a>

Delicious

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

Reddit

<a rel="nofollow" href="http://reddit.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php echo urlencode(get_the_title($id)); ?>" title="Share this post on Reddit">Share on Reddit</a>

Furl

<a rel="nofollow" href="http://furl.net/storeIt.jsp?t=<?php echo urlencode(get_the_title($id)); ?>&amp;u=<?php the_permalink(); ?>" title="Share this post on Furl">Furl This!</a>

Facebook

<a rel="nofollow" href="http://www.facebook.com/share.php?u=<?php the_permalink() ?>" title="Share this post on Facebook">Facebook</a>

Blinklist

<a rel="nofollow" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;url=<?php the_permalink(); ?>&amp;Title=<?php echo urlencode(get_the_title($id)); ?>" title="Bookmark this post on Blinklist" >Blink This!</a>

Technoroti

<a rel="nofollow" href="http://technorati.com/faves?add=<?php the_permalink() ?>" title="Share this post on Technorati">Technorati</a>

Stumbleupon

<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=<?php the_permalink() ?>&amp;title=<?php the_title(); ?>" title="Share this post on Stumbleupon">Stumbleupon</a>

AddThis

<a rel="nofollow" href="http://www.addthis.com/bookmark.php?pub=USERNAME&amp;url=<?php echo get_permalink(); ?>&amp;title=<?php echo urlencode(get_the_title($id)); ?>" title="Share this post">AddThis</a>

Newsvine

<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=<?php the_permalink() ?>&amp;h=<?php the_title(); ?>" title="Share this post on Newsvine">Newsvine</a>

Google

<a rel="nofollow" href="http://www.google.co.uk/bookmarks/mark?op=edit&bkmk=<?php the_permalink() ?>" title="Bookmark this post on Google">Google</a>

Myspace

<a rel="nofollow" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&u=<?php the_permalink() ?>" title="Share this post on Mysace">Myspace</a>

Related posts:

bookmark, permalink, social, wordpress

Get More Wordpress Tips & Tricks

Liked this post? subscribe to our email updates or RSS feed!

  • Love this. Thanks for sharing. It's nice to get the sharing function enabled and not have the whole thing cluttered by logos and imagery. Just simple links.
  • thanks a lot for this post
  • isabellabab
    Rather good idea
  • Those trics might be very usefull in other CMS'es as well. Thanks alot!
  • Mahgol
    Thanks! this is great!
blog comments powered by Disqus