TweetMeme is a popular retweeting service on Twitter. Many top bloggers including ProBlogger Darren Rowse and CopyBlogger Brian Clark are using this service on their blogs.
I’ve also tried TweetMeme button on this blog with the help of TweetMeme WordPress plugin. The plugin is simply great, as you don’t have to use any coding skills to display the button on your blog.
TweetMeme Button on simple WordPress Theme
For bloggers who prefer coding instead of plugins, they can use following TweetMeme script on their blogs.
<script type=”text/javascript”>
tweetmeme_url = ‘http://yoururl.com’;
</script>
<script type=”text/javascript” src=”http://tweetmeme.com/i/scripts/button.js”></script>
Some plugins might slow down your blog’s performance, and hence it is always recommended to use simple codes on blogs.
TweetMeme Button on Thesis WordPress Theme
Thesis theme user can also apply this button on their blogs, but it needs technical knowledge. Well, you don’t have to worry about it; I’ll guide you to do it on your Thesis blog.
1. Open custom_functions.php file from following path.
/wp-content/themes/thesis/custom/custom_functions.php
2. Copy this code and paste it in above file.
function author_avatar() {
if (is_single()) {
echo ‘<div style=”float:right; padding-left: 5px;”><script type=”text/javascript” src=”http://tweetmeme.com/i/scripts/button.js”>
</script></div>’;
}
}
add_action(‘thesis_hook_before_headline’, ‘author_avatar’);
3. Save the file. Now, the button will appear beside your blog post title as shown in image.

If you don’t want it to appear beside blog post title then use TweetMeme WordPress plugin, which gives facility to put the button in blog content.
Related posts:
- How to display Ads in Single Post of Thesis Theme?
- How to Remove Comments from Homepage of Thesis Theme?
- How to Add a Favicon in Thesis Theme?
- How to Add Twitter Field in the Comment Section of Thesis Theme?
- How to display 125 x 125 Ads in Sidebar of Thesis Theme?
Follow us on Twitter ! and get Free Twitter Tips in your inbox.

{ 3 comments… read them below or add one }
The code for Thesis not working anyway… it really make my bloG error
I’m using same code on this blog. It’s working for me.
so what is my problem…
I use the tweetmeme now, but i can’t make it beside the title. can you give me some advice.. thank you.