• 23
  • Feb

WordPress Plugin

We have just released a WordPress plugin which fully integrates the tweetmeme button with your WordPress self hosted blog. It provides a easy way to integrate the retweet facility into your blog posts.

Why?

If you do want the button on every single post then copy/pasting the javascript can become tiresome, so to make things simple the plugin places the button either at the top or the bottom automatically, you can also override the styling.

Download/Install

You can download and find instructions on how to install the tweetmeme WordPress plugin on the tweetmeme plugin page.

By daniel

 

31 Responses to “WordPress Plugin”

  1. Andrew says:

    Firstly I’m loving Tweetmeme ,super addicted!!

    Just one quick question:
    I’ve enabled the button and upon selecting it, it obviously publishes to twitter. What is the character or letters mean?

    An example:
    RT @tweetmeme 20 2009 SA Blog Awards | d PS3Blog.co.za 35 http://bit.ly/5Ewwj

    What’s is the signifigance of “RT” OR “| d ” OR the number “35″?

    Is it a problem on myside or is this so tweetmeme.com can distinguish whats a video,blog etc post?

    I’ve also posted my question here: http://wordpress.org/support/topic/250258?replies=1

  2. Soccer Dad says:

    I’ve made a few updates to the plugin – it was driving my excerpts and feeds crazy (including the tweetememe_url variable in them). I figured most feed readers would strip the JS anyway, so I added a change to not run if it was a feed. I also tweaked the filter code to NOT modify the content when an excerpt is being generated from the content because a separate excerpts doesn’t exist.

    Will try to paste it here, but if it doesn’t work, feel free to email me.


    *** tweetmeme.php.dist Wed Mar 11 10:09:49 2009
    --- tweetmeme.php Wed Mar 11 11:01:26 2009
    ***************
    *** 13,28 ****
    }

    function tm_update($content) {
    ! $button = '

    tweetmeme_url = \'' . get_permalink() . '\';

    ';

    ! if (get_option('tm_where') == 'before') {
    ! return $button . $content;
    } else {
    ! return $content . $button;
    }
    }

    --- 13,34 ----
    }

    function tm_update($content) {
    ! if (!is_feed()) {
    ! $button = '

    + //

    ';

    ! if (get_option('tm_where') == 'before') {
    ! return $button . $content;
    ! } else {
    ! return $content . $button;
    ! }
    } else {
    ! return $content;
    }
    }

    ***************
    *** 69,77 ****

    \ No newline at end of file
    --- 75,92 ----

  3. Soccer Dad says:

    Nope – didn’t work. Oh well, if interested, email me. I also tweaked the JS code to make it XHTML compliant.

  4. testyc says:

    How can i customize the text. I have seen many people using this plugin in customized text like this:

    ‘RT @othertwitteracc … (via @tweetmeme)’

    so how to change the default message:
    ‘RT @tweetmeme … ‘

    thanks in advance.

  5. testyc says:

    forget what i just said.. its another plugin. Got it right now ;)

  6. gigi says:

    this plugin doesn’t get permalink correctly, if i click on retweet button i’m redirected to twitter.com but not inserted title post and link automatically.

  7. I like the plugin, and the button looks cool on the posts, but I have a couple of questions/problems. Is there a way to include the post title instead of the blog title in the RT? And I noticed that the button shows up on individual post pages but not on the home page (http://familyanatomy.com).

  8. Awex says:

    Hi,
    Just started using your button in my joomla site.
    http://www.houseplanet.dj/index.php/March-2009/Steve-Angello-vs-Paris-Hilton.html
    How can I open the retweet in new window?
    Thanx!

  9. Awex, can you raise that as an idea on http://feedback.tweetmeme.com/pages/general – and we will look into it for you.

  10. Mac says:

    I’d like to get my twitter name whitelisted. It’s _McLaughlin.

    Thanks

  11. [...] Tweetmeme – A newcomer although it has spread like wildfire and for good reason too. This plugin allows you to ‘retweet’ the article you are reading directly to Twitter. Everyone seems to be on Twitter these days, so it can create you a lot of traffic as people begin to retweet your article. Comes as a WordPress Plugin and also a script which offers more functionality as to where you can place it on your article. Get your blog whitelisted by the Tweetmeme team and this will add even more credibility to your work. [...]

  12. Clay says:

    Hi,

    I got the latest version of the plugin and now RTs include my @clayhebert but how do I customize the test to be the post title, not the blog title?

    Also, can I integrate my bit.ly account to track the clicks?

  13. Sarah Blow says:

    at this time we do not support single url shortener integration. It is on our feature request list though.

  14. Daniel says:

    We currently do not support the changing of the title, and we get the title that it tweets from your page title.

  15. malcolmmunro says:

    One more request to RT the WordPress post title and not the page title.

    Anyone found a way around this yet?

  16. Uli says:

    When do you provide the ability to specify the background color outside the tweet button – it’s white right now in IE6, IE7 and IE8, quite annoying for people with colored page backgrounds. See for example at the end of this post:

    http://skinnychef.com/blog/healthy-lunches-kids

    How hard could it be to add this into the next plugin upgrade?

    • GregJxn says:

      You can fix it with this if you’re using jQuery:

      if(jQuery.browser.msie) { jQuery(‘iframe’).attr(“allowtransparency”,”true”);
      }

  17. Is there any way to choose a different colored icon or a way to change the color? Just curious, if not, not a problem, this is still a great plugin!

  18. Manan says:

    How can I put the button where I want to and not especially where you want me to?

  19. Sarah Blow says:

    Hi Manan

    In the settings set it to manual button install and then just put [tweetmeme] in your posts where you want the button to show.

    Many thanks
    Sarah

  20. Sebastian says:

    and outsite of posts?

    i would love to put it somehwere else in the worpdress loop, because of other sharing tools

    something like tweetmeme(); ?

  21. [...] traffic you may be able to rack up a lot more votes this way. I have had good success with the Tweetmeme button on my blogs for getting more tweets and [...]

  22. jallits says:

    I propose updating this plug-in to offer the option of using the auto-generated WP.ME shortlink which is available in WordPress version 2.9 and higher.

  23. Jeff Cobb says:

    I’ve tried inserting [tweetmeme] into a post after switching the settings to manual and it simply displays as [tweetmeme] – i.e., no button. Am I missing something? (Using WordPress 2.9.1)?

    • Sarah Blow says:

      [tweetmeme] should be inserted in text view not code view and it should automatically get picked up in the scenario that you are talking about. If this is not working for you please put a support request through on our forum found here: http://help.tweetmeme.com/forum and provide the details of your platform, theme and any plugins that could potentially be conflicting and causing the issue that you mention.

  24. Blogington says:

    Hi, is there anyway to customize the tweetmeme buttons? Just wondering because a bright green button can look odd with some blog designs/themes.

  25. magiclogix says:

    I added the plugin to my wordpress, it is showing fine on the sigle post but it is not showing on the home page:
    magiclogix.com/blog
    Any idea?

    • Sarah Blow says:

      Hi Magiclogix,

      If your site is a WordPress site there is a setting in the admin/tweetmeme/settings area to toggle on or off the button for the front page, however the theme must be able to support full feeds and for this to be enabled before the button will show.

      Many thanks
      Sarah