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">
- How To Add A Floating Bookmarks Panel To Your Blog In one of my weekly top blog posts round up, I raved about the stunning Smart Sharing plug-in by the folks @ WpBeginner. This plug-in made it possible to add a floating social media bookmark panel to the side of your wordpress blog’s theme making it easier for your readers...
- SOB’s Top 5 Wordpress Plug-in Alternatives Plug-ins are fun and add a lot of interactive features to your blog but some are just not necessary at all cos they sometimes slow down the loading of your pages....
- Show Adsense To Search Engine Visitors With JavaScript Making money online via Google Adsense could sometimes backfire without warning. Some of us are already aware of Google’s smart pricing which is simply a reduction in CPC on ads shown on blogs displaying Google Adsense with a dismal CTR (click-through-rate). To avoid this smart pricing of a thing, bloggers/webmasters...
| Tweet | Share | Save on Delicious | ![]() | ![]() |
Social Tagging: tweetmeme plugin button > wordpress plug-ins
Get Full Blogging and Make Money Online Tips Delivered Via E-mail Please check your inbox and spam folder for the confirmation email |











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.
The code that the plugin spits out is completely invalid, so I am still preferring this method.
Good to know it still works