Share buttons Facebook Twitter, just like wordpress.com without webservice

Why go for a plugin at all?? all you want is twitter & facebook share / tweet right ?

You can do this:

1. embed this shortcode in your functions.php (or shortcode page if you got one)

function shreplz() {
   return '
    <div class="sharebox">
    <div class="twittme"><a name="fb_share"></a> <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div>
    <div class="shareface"><a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a><script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script></div>
    <br style="clear: left;" />
    </div>
   ';
}
add_shortcode('sharethis', 'shreplz');

.
2. Now you can use this shortcode anywhere in you theme like this:

<?php echo do_shortcode('[sharethis]'); ?>

Or directly from post / pages like this:

[sharethis]

.
3. If you want the 2 buttons to sit side by side paste this CSS in your style.css

/****** SHARE PLZ BUTTONS *****/
.sharebox {
width: 180px;
}

.shareface {
    float: left;
}

.
And thats all.. easy and clean and without the need to refix after upgrading a plugin.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)