Add a Plurk This widget to your WordPress blog

| April 16, 2009 | Leave a Comment

Plurk is a microblogging platform that’s particularly popular in the Philippines, and just like Twitter it can be used to promote your blog posts with a simple flick of the wrist. Marghil Macuha has written a Plurk This code snippet you can add to your WP theme:

Just copy and paste the code above on your single.php page, preferably below the post title, then modify a little bit to change the domain name and a link to your image (I have a hotlink protector so you have to host your own image, ok? ).

I suggest making a few tweaks to the code, such as using the_permalink() for the full URL and not a hardcoded one, i.e.:

http://plurk.com/?qualifier=shares&status=<?php the_permalink(); ?>

Related Posts

Tags: , ,

3 Comments

  1. Rafie Said,

    Any demo?

    Rafie´s last blog post: Manchester mari

  2. marhgil Said,

    thanks for the plug! i prefered using the shorter one instead of the permalink to conserve spaces, para kung may idadagdag pa sila, mas mahaba ang masasabi. :)

    marhgil´s last blog post: Plurk This Post WordPress Code

  3. Sophia Lucero Said,

    @Rafie: Please visit Marghil’s website for a working demo.

    @Marghil: Well that can also be done by not hardcoding the blog URL, like so:

    http://plurk.com/?qualifier=shares&status=<php bloginfo('home') ?>/<php the_ID(); ?>
    

RSS feed for comments on this post · TrackBack URI

Leave a Reply