Categories

Plurk for WordPress

Plurk for WordPress displays yours latest plurks in your WordPress blog.

Features

  • Simply
  • Customizable
  • Widget ready
  • Uses WordPress resources (no extra files needed)
  • No options page (yes, it’s a feature)
  • Multiple widgets (Thanks to Michael Feichtinger)

Installation

Drop the plurk-for-wordpress folder into /wp-content/plugins/ and activate the plug in.

Usage

If you use WordPress widgets, just drag the widget into your sidebar and configure.
If widgets aren’t your thing, use the following code to display your public Plurk messages:

plurk_messages('username');

Note: Your plurks must be unprotected (i.e. visible by the whole world)

Plurk for WordPress also has several configurable options. Here’s what you can configure:

plurk_messages('username', [msgs], [list], [timestamp], ['link'], [encode_utf8]); 
  • username: your plurk username
  • msgs: number of plurks to show
  • list: show plurks in a unordered list
  • timestamp: show a relative timestamp
  • linked: the link options
    • ‘all’: puts a link to the tweet status in all the tweet (the old-school way). This option disables the link discover features.
    • false or ”: no link at all to the tweet status
    • true or ‘something’: enable the link to the tweet status. You can customize the text.
  • encode_utf8:turn it on if you have encoding problems

Only username is required. The other parameters will take this default values:

plurk_messages('', 1, false, true, '#', false);

This is: 1 plurk, not in a list, with timestamps, with a # link to each plurk and without UTF8 encoding.

So, if I wanted to show my last 3 plurks, not in a list, with timestamps, with a Go link and encode_utf8, I would use the following:

plurk_messages('username', 3, false, true, 'Go', true);

Customization

The plug in provides the following CSS classes:

  • ul.plurk: the main ul (if list is activated)
  • li.plurk-item: the ul items (if list is activated)
  • p.plurk-message: each one of the paragraphs (if msgs > 1)
  • .plurk-timestamp: the timestamp span class
  • a.plurk-link: the tweet link class

Live Demo

plurk_messages('Ryck', 5, true, true, '>>', false);

>’, false); ?>

Download

Version History

1.0 – 2008/06/07

  • Initial Release

Credits

Contact

Suggestion, fixes, rants, congratulations, gifts et al to rick[at]jinlabs.com or by my contact page.

Code

Maybe you could be interested in my other plugins: Code

270 replies on “Plurk for WordPress”

[…] Plurk for WordPress – Plurk is a better, more funky, cooler replacement for Twitter (which fell over a few weeks ago due to over use).  This plugin shows the last 5 or so ‘plurks’ that you have written.  Again, I think this nice for visitors to see and brings together your last couple of days (and automatically makes the website more up-to-date) […]

[…] 設定非常的簡單,只要輸入帳號(USERNAME)、顯示訊息數(NUMBER OF LINKD)、連結方式(LINKED)即可。 「all」:把所有訊息都加上連結。 「false」:所有訊息都不加連結。 「???」:訊息後會多一個可以客製化的文字,讓那個文字連結到原文訊息。ex:true→訊息後就會多一個「true」連結原文。 其他更詳細設定可參考作者網址:http://rick.jinlabs.com/code/plurk/ […]

I like the helpful info you provide in your articles. I’ll bookmark your blog and check again here regularly.
I’m quite certain I’ll learn many new stuff right here! Best of luck for the next!

Having read this I believed it was rather enlightening.
I appreciate you spending some time and energy to put this information together.
I once again find myself spending a lot of time both reading and posting comments.
But so what, it was still worthwhile!

Please let me know if you’re looking for a article writer for your weblog.
You have some really good articles and I feel I would be a good asset.
If you ever want to take some of the load off, I’d love to write some content for
your blog in exchange for a link back to mine. Please
send me an email if interested. Thank you!

Feel free to visit my web blog game slot sky777

When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a
comment is added I get three emails with the same comment.

Is there any way you can remove people from that service?
Many thanks!

I like the valuable info you provide in your articles.

I will bookmark your blog and check again here frequently.
I am quite certain I’ll learn many new stuff right here!

Good luck for the next!

You actually make it seem so easy with your presentation however I find this matter
to be really something which I feel I would never understand.
It seems too complicated and very extensive for me.
I’m looking forward for your subsequent submit, I will attempt to
get the hold of it!

Having read this I thought it was extremely enlightening.
I appreciate you spending some time and energy to put this information together.
I once again find myself personally spending a lot of time both reading and commenting.
But so what, it was still worth it!

I just like the valuable information you provide in your articles.
I will bookmark your weblog and check again right
here frequently. I’m relatively sure I’ll learn a lot
of new stuff right right here! Good luck for the following!

This is very fascinating, You’re an excessively skilled blogger.
I have joined your feed and sit up for seeking extra of
your fantastic post. Additionally, I have shared your web site in my
social networks

I got this website from my pal who told me on the topic of this web
page and at the moment this time I am browsing this website and reading very informative content at this time.

Hmm is anyone else having problems with the images on this blog
loading? I’m trying to determine if its a problem on my end or if it’s the blog.
Any feedback would be greatly appreciated.

Hello! I’m at work surfing around your blog from my new iphone
3gs! Just wanted to say I love reading your blog and look
forward to all your posts! Keep up the outstanding work!

Hello, i think that i saw you visited my website so i came
to “return the favor”.I am trying to find things to improve my web site!I suppose its ok to use some of your ideas!!

I do accept as true with all the ideas you have
introduced on your post. They are very convincing and can definitely work.

Still, the posts are very short for starters. Could
you please lengthen them a little from subsequent time?
Thanks for the post.

Leave a Reply