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”

This is the perfect site for anybody who would like to understand this
topic. You know a whole lot its almost tough to argue with you
(not that I really would want to…HaHa). You certainly put a brand new
spin on a topic which has been written about for ages.
Wonderful stuff, just excellent!

my blog – gantdaily.com

I do not even know the way I ended up here, however I believed
this publish used to be good. I don’t understand who
you’re but definitely you are going to a well-known blogger if
you aren’t already. Cheers!

Have a look at my web-site: 39.100.90.4

I needed to write you the very little observation to thank you once
again for those gorgeous knowledge you have documented
on this website. This is so shockingly open-handed with people
like you to provide openly just what most of us might have offered for an ebook
to make some cash for their own end, even more so given that you might
have done it if you wanted. The advice in addition worked as the
good way to understand that the rest have similar interest
the same as my very own to know a little more related to this problem.

Certainly there are several more enjoyable periods up front
for individuals who scan through your site.

Take a look at my blog :: http://www.northcyprusadvertiser.com

You really make it seem so easy with your presentation but I find this matter to be actually something that I think
I would never understand. It seems too complex and extremely broad for me.

I’m looking forward for your next post, I’ll try to get the hang of it!

Review my web site royaltooba.com

Wonderful items from you, man. I have take into account your stuff previous to and you are just extremely excellent.

I really like what you’ve received right here,
really like what you are saying and the best way through which you are
saying it. You make it enjoyable and you still care for to keep it sensible.

I cant wait to read far more from you. This is really a wonderful
website.

Feel free to visit my page :: Ezra

Hi there, simply turned into alert to your weblog thru Google, and found that it’s truly informative.
I’m gonna watch out for brussels. I’ll appreciate for those who proceed this
in future. Many other folks will probably be
benefited from your writing. Cheers!

my website :: freeholmes.com

Leave a Reply to http://www.fivedollarclassifieds.com/ Cancel reply