The idea behind this is simple. Everyone know how quick twitter is reaching the top of social media web. Twitter is a great source of traffic particularly if you have a good number of followers. Tweetmeme is a digg like website where user can submit stories through twitter. If you need some quick hits from twitter, I recommend you to add a tweetmeme button on each of your blog posts like I did here. (If you like this post, please don’t forget to retweet it)
Add this code at the end of the functions.php file in your theme to embed a retweet button. If you want to know how to automatically tweet your blog posts read our post on How to automatically tweet your blog post
function tweetmeme($content) {
$code = '<div class="alignleft">
<script src="http://tweetmeme.com/i/scripts/button.js" type="text/javascript"></script></div>
';
if (is_single()) {
return $code.$content;
} else {
return $content;
}
}
add_filter('the_content','tweetmeme');
Related posts:
- How to automatically tweet your blog post
- Tweet My Post: Tweet and Twitter your blog posts
- How to integrate a “Digg This” Button in a WordPress Blog’s index.php
- How to Insert content after each post in WordPress
- 5 Useful WordPress Hacks for Better Themes

It‘s quite in here! Why not leave a response?