Blogging and Make Money Online Tips

Blogging and Make Money Online Tips

How To Integrate Tweetmeme Without A Plug-in

Posted by Udegbunam Chukwudi On July - 30 Under Wordpress Plug-ins 5 COMMENTS

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 &raquo;</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

  1. Integrating The Tweetmeme button into Blogger.
  2. Tweetmeme Button.
  3. 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">

    Click Here To ReTweet This Post

    Bookmark & Share This Post: Twitter | Digg | Del.icio.us | StumbleUpon | Reddit | Email | Print

    Related Posts

    1. Top 4 Reasons For Never Blogging Without Twitter
    2. Top 15 Wordpress Plug-ins @ StrictlyOnlineBiz
    3. SOB’s Top 5 Wordpress Plug-in Alternatives
    4. How To Secure Wordpress Blogs With Plug-ins

    Get Full Blogging and Make Money Online Tips Delivered Via E-mail or RSS Feed

    RSS Subscription

    5 Responses to “How To Integrate Tweetmeme Without A Plug-in”

    1. Deni says:

      thank for share
      i like this posting
      regard...

    2. Mike from Best Workout Reviews says:

      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

    3. Chris says:

      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.

    Leave a Reply

    The use of keywords in the name field is NOT ALLOWED. Please use the following format:

    YourName@YourWebsite.

    Example: If your name is Bryan and the name of your blog is www.007.com, in the name field, you MUST type in Bryan@007. When your comment gets approved your name will appear like this: Bryan from 007. 007 will be linked to your site.

    Drive-By comments like "Thanks for sharing", "Nice post", or spammy comments will be DELETED!

    PLEASE PLEASE PLEASE! I highly recommend you go through my revised comment policy before commenting.

    Spam Protection by WP-SpamFree

    By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution. If you're not cool with this, please DO NOT submit your comment. Thank you!

    Also note that comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.