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.
?>
<div style=”float:right; margin-top:-17px;margin-right:-10px;”>
<script type=”text/javascript”>
tweetmeme_url = ‘<?php the_permalink() ?>’;
tweetmeme_source = ‘TechExclusive’;
tweetmeme_service = ‘bit.ly’;
</script>
<script type=”text/javascript”
src=”http://tweetmeme.com/i/scripts/button.js”></script> </div><?
}
add_action(‘thesis_hook_byline_item’,'custom_byline’);
3. Save the file. Now, the button will appear beside your blog post title as shown in image. [Replace tweetmeme_source to your own Twitter handle.]

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.


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.
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.