Sharing Your Posts On Facebook
Here is a great way to make your posts Social Media ready. Of course you can use any one of the plugins that provide you with the ability for your readers to share your posts, or you can provide a specific link on your posts that allows your readers to share the post directly to Facebook.
This is a simple piece of code that takes advantage of Facebook’s URL sharing feature.
<a href=“http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>” target=“blank”>Share on Facebook</a>
That’s it, just copy and paste it into your post and you’ll have a link that shares your post. If you wanted to get really fancy you could download one of the hundreds of free icons and have an image link instead of a text link in which case the code would look like:
<a href=“http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>” target=“blank”><img src=”../facebook_icon.png”></a>
You would simply substitute the facebook_icon.png for the path and name of the image file you chose to use.
Popularity: 2% [?]

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=f5ba6707-0f82-4c8a-9029-b85108531559)
#1 by momo on June 12, 2009 - 12:18 pm
thanks alot …great post
<abbr>momo’s last blog post..??? ????? ???</abbr>
#2 by virtual on June 16, 2009 - 11:07 am
Going to try this and see what happens and will come back to report.
#3 by Cancer Specialist FL on June 16, 2009 - 10:43 pm
I will check out this trick. Thanks for information.