The Tweetmeme Plug-in is one of the many wordpress/blogger plug-ins out there that is known to help generate traffic via the now larger than life, Twitter.
I installed the plug-in on my blog like 3 weeks ago and was immediately irritated by the fact that the plug-in's configuration page didn't have options as to where I wanted the button to appear and not to appear. The button was on every page of my blog including the contact, about me, sitemap, category and you name it pages.
Luckily I was wise enough to check the official website of the plug-in and found out how to implement the tweetmeme button without having to install the plug-in on my Wordpress blog and Blogger blog.
For Self Hosted Wordpress Blogs: Below is the code I added in my single.php file of my theme, right after the <?php the_content("<p>Read the rest of this entry »</p>"); ?> tag. Please note that this code doesn't appear on the Tweetmeme official site this way. I've modified it a little to suit me.
<div class="tweetmeme_button">
<script type="text/javascript">
tweetmeme_url = '<?php the_permalink(); ?>';
tweetmeme_source = 'your twitter id';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
</div>
For Blogger Blogs: Simply log into your account. In dashboard, click on Layout tab then Edit HTML tab. When you're there, tick 'Expand Widget Templates' box and wait for page to reload. Look for the tag: <data:post.body/> then paste the code below after it.
<script type="text/javascript">
tweetmeme_url = '<data:post.url/>';
tweetmeme_source = 'your twitter id';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
Remember to fill in your twitter id. Hope you enjoy this button and the load it takes off your server unlike if you were to be using the plug-in.
This post was created after carefully studying the following posts
- Integrating The Tweetmeme button into Blogger.
- Tweetmeme Button.
- Integrating The Tweetmeme button into Wordpress
Update: The new version of the tweetmeme plug-in now has options to remove the button from certain pages of your blog. At the time of writing this post, it didn't have those features. My bad.
. Sorry for any inconvenience caused.
<div class="post-footer">
Bookmark & Share This Post: Twitter | Digg | Del.icio.us | StumbleUpon | Reddit | Email | Print
Related Posts
- Top 4 Reasons For Never Blogging Without Twitter
- Top 15 Wordpress Plug-ins @ StrictlyOnlineBiz
- SOB’s Top 5 Wordpress Plug-in Alternatives
- How To Secure Wordpress Blogs With Plug-ins
Get Full Blogging and Make Money Online Tips Delivered Via E-mail or RSS Feed |











thank for share
i like this posting
regard...
@Deni: You're most welcome.
I'm installing this on a couple of my wordpress sites so thanks for this, very helpful. I've also been trying out the commentluv and keywordluv plugins, so far quite good, lots of real people!
Mike@Best Workout Reviews´s last blog ..Fast Muscle Building Workouts
@Mike: Good to know it worked out nicely for you. I've also got commentluv and keywordluv enabled on my blog but a STRONG comment policy is needed to keep spammers away.
I just wanted to post a comment thanking you for writing this entry. For some reason my theme or some of the plugins that I use on my blog conflict with the Tweetmeme and Facebook Share plugins, and I've been driving myself crazy over the past couple of months trying to figure out how to integrate the buttons into my blog. This post really helped. So, thanks.