Add Tweet This Without a Plugin!

byebyetweetthis

****************UPDATE****************

I’ve created a MUCH BETTER VERSION here.

****************UPDATE****************

I have a few goals in mind when I design blogs and one of them is speed. It have to make the blog as fast-loading as humanly possible. I don’t want anyone to have to wait for anything, if I can help it.

The second goal is aesthetic appeal and simplicity in that design schematic. I don’t like things that “break” the flow of the design aesthetic or that “interrupt” the experience. Again, if I can help it.

Tweet This, a very nice WordPress Plugin, has been breaking both of these rules… but no more. I’ve decided to get rid of it completely and replace it with a very simple and clean design aesthetic, right where it should be.

tweet_thisSee? Very nice. I like it.

I’ve now completely gotten rid of what I consider a “bloated” and “heavy” plugin and with one small line of code have provided my readers with the same functionality without having this honking “TWEET THIS” image to detract from the experience.

That’s speed. That’s design aesthetic. That’s appeal. That’s smoothe. That’s… uh. epic?

Puaha.

Want to do the same thing? Just add this line of code in your single.php file (inside the “loop”) and you’re good to go.

<a href=”http://twitter.com/home?status=I just read <?php the_permalink(); ?> on www.Human3rror.com!” title=”Send this Post to Twitter!” target=”_blank”>Tweet This Post on Twitter!!!</a>

Word.

35 thoughts on “Add Tweet This Without a Plugin!

  1. John,
    Cool – how does that work w/ the TweetSuite plugin (which though I have installed has never seemed to ever work, for whatever reason) … TweetSuite already has this "Be the first to tweet this post" … would you recommend ditching that, and just doing this? (especially since tweetbacks have yet to ever appear on my blog, even though I know they have been tweeted). Maybe the tweetback issue and the syncing issue w/ IntenseDebate are related. I dunno.

  2. Want to do the same thing? Just add this line of code in your single.php file (inside the “loop”) and you’re good to go.

    If I actually knew what that meant I might try it.

  3. John – ok, so I did this, but my tweets are inserting the %20 for spaces – how can I prevent that – when you click my link, you get this: I%20just%20read%20http://www.fredmckinnon.com/myblog/2009/02/27/the…

    I know that %20 is code for a space … how can I not make that happen, since you have spaces in your code as well? Is this an encoding issue on my server?

    • John, it's the company I owned and built for years, HPP Christian Web Solutinos – http://www.hppchristianhosting.com … I started it in my garage, and it was acquired about a year and a half of ago by hostek in Tulsa … still an awesome company. I know those servers inside and out, typicaly was running RHEL4 and Plesk 7 or Plesk 8 back then. I just don't have the keys to the boxes anymore, of course!

  4. I have been using a similar code but I have mine saying this "Currently @beyondrandom reading (here is where I put the call for permalink). That in turn shows off my Twitter account to the "tweeters" followers. I have been reading your site for a few days now and Im become a big fan! Thanks for sharing! oh and P.S. I love the theme! lol

  5. Pingback: ‘Tweet This’ Using TinyURL and NO Plugin v2.0

  6. haa cant believe they had a plugin for such a simple line of code – well its less stress on wordpress backend I guess

  7. Pingback: When URL Shorteners Die … | FredMcKinnon.Com

  8. How did you get those buttons on the left that follow us as we scroll the page? <<<<<<<< tweet fACEBOOK AND ADD ?