Here’s how to add a Tweetmeme button to your blog posts. w/o plugins or long cod

  • Author
    Posts
  • #436944

    I would just like to share this knowledge with anyone who isn’t aware.

    It seems that not many people are aware of this, but WP.com has implemented the Tweetmeme code onto their site. So to use it, all you need to do is use this shortcode:

    [tweetmeme http://www.URL.com%5D

    *if would like to specify you twitter name, include this: source=”your_twitter_name” (Keep the quotes)
    In that case, it should look like this: [tweetmeme source=”your_twitter_name” http://www.URL.com%5D

    *If you would like for the button to appear on the home page and not not only the single post view, the add this: only_single=false

    Altogether, it looks like this: [tweetmeme source=”your_twitter_name” only_single=false http://www.URL.com%5D

    Hope this helps someone!

    The blog I need help with is freshcookiezblog.wordpress.com.

    #437209

    038naod3
    Member

    freshcookiez

    thanks, I have you on my blog surfer and I saw the code and it works great.

    Just a note, I dont think you have to include the post link. When I tried it all I did was the [tweetmeme source=”your_twitter_name”] and the post link automatically was added.

    hope u get what I mean

    #437210

    arcadata
    Member

    Thanks! I didn’t know about this new feature!

    #437296

    very useful, thanks a lot…

    #437302

    @ lolavibe oh wow really? haha thanks for telling me that. I wasn’t aware of that. saves me some time.

    and to everyone else you’re very welcome! I’m glad u found it helpful!

    #437304

    t3ck
    Member

    Thanks I bookmarked this thread for future reference.

    #437313

    I seem to be missing something. Where would I put this code?

    #437320

    k8gris
    Member

    I don’t get it either. I’m back on WordPress after several-year hiatus. My blog is hosted on WordPress. This sounds like it would still work even if I don’t host my own blog. But I tried entering the HTML into one of my posts and it’s not working …

    #437321

    k8gris
    Member

    Ah, never mind — I got it to work! writeronboard, you have to leave the brackets ON. I tried to insert the code without the brackets. So freshcookiezblog is correct, it’s like this: [tweetmeme source=”your_twitter_name” http://www.URL.com%5D. I inserted the HTML near the end of my post, and the retweet is also at the end …

    #437322

    timethief
    Member

    You can post the entire complete code on the forum between backticks. The backtick is found on the same key as the ~ only in lower case. The way to do it is like this
    backtick
    post the code
    backtick

    #437323

    clayrivers
    Member

    Don’t laugh, but I know nothing about code. Where exactly do I paste the code on the CSS?

    Thanks.

    #437324

    raincoaster
    Member

    You don’t. You put it in your post.

    #437328

    amirajnorris
    Member

    Thank you so much for posting this – and for all the follow ups – that helped a novice like me use such a great little tool

    #437329

    cpekyorur
    Member

    When I used that code my twitter name did not appeared. Then I used this one and that works perfectly for all of our needs.

    [tweetmeme source= ‘yourtwittername’ only_single=false]

    That code creates a link of the page automatically and you can see your twiiter name on that retweet also with this code your retweet button will appear at your home page and the page of the post.

    #437330

    cpekyorur: make sure u include the quotation marks. so it should be
    [tweetmeme source= "yourtwittername" only_single=false] *with the quotes include*

    #437331

    oops it should be like this:

    ‘[tweetmeme source=”yourtwittername” only_single=false]’

    #437332

    farhansv
    Member

    wow, it works! thx.
    but i am wondering, can i erase the with background there? cause i use black in my background color.. thx.

    #437333

    farhansv
    Member

    can somebody explain to me why there is writen “Tweeted” instead of “Retweet”? because the button can only used once..

    #437334

    farhansv
    Member

    im sorry i forgot the link, here it is http://farhanvsgnk.wordpress.com/2009/10/18/anak-krakatau/

    thx

    #437335

    038naod3
    Member

    @farhanvsgnk

    If you have set your blog up to automatically post to twitter when you publish the post, then the button says tweeted.

    If you are logged into Twitter, log out and check the button on your post.

    when I looked at your link the button says Retweet so its working fine

The topic ‘Here’s how to add a Tweetmeme button to your blog posts. w/o plugins or long cod’ is closed to new replies.