Popularity Contest Widget

by Jack Hughes on October 29, 2007

If you're new here, you may want to subscribe to my RSS feed. Not sure how to subscribe to a RSS feed? Read Subscribing to blogs the easy way. Thanks for visiting!

Update 2nd December 2008: The Popularity Contest Widget has now moved to the wordpress.org site. All updates will now appear on the new site.

Popularity Contest is a great Wordpress plugin for displaying your most popular blog posts. It powers the Teapot Highlights over on the right hand side of this post. :)

One thing missing from Popularity Contest is a widget. We created one for this blog, so we thought we may as well share it for everybody else to use too.

Place the Popularity Contest Widget in your plugin directory (remember to strip the .txt off the end) then go to Presentation > Widgets. You can then drag ‘n drop the widget into your sidebar.

You can edit the title and the number of posts to display. Don’t forget to press the Save Changes button.

Popularity: 36% [?]

Share and Enjoy:
  • del.icio.us
  • Twitter

Related posts:

  1. The popularity contest widget has moved…
  2. Using Wordpress as your blogging platform? Install Akismet
  3. ANN: Sensatronics Microsoft Vista sidebar gadget
  4. Selecting a content management system

{ 3 trackbacks }

JMorris Online » Blog Archive » Superficial Blogging - Are you adding value or just scratching the surface?
November 4, 2007 at 5:02 AM
Popularity Contest Widget Plugin | WordPress [at] mimpikami [dot] com
November 26, 2007 at 9:16 AM
Fix for fatal errors in Popularity Contest plugin for WordPress 2.5.1 | Boom!Atomic
May 15, 2008 at 4:47 PM

{ 15 comments… read them below or add one }

poer November 7, 2007 at 12:31 AM

Before, I used to add this Popularity Contest widget manually to my template functions.php, thanks for yours plugin, now I don’t have to :D

Jack Hughes November 7, 2007 at 10:31 AM

@poer – great. I’m pleased you’re getting some value out of it. No need for us all to go around implementing exactly the same stuff all of the time. :)

ses5909 November 20, 2007 at 8:43 AM

Great job Jack. I’m considering turning a couple of my plugins into widgets. Hopefully its not too difficult!

Jack November 20, 2007 at 12:10 PM

@ses5909 – I can’t take credit I’m afraid. Dean wrote it who co-owns OPENXTRA. Widgets aren’t difficult so I doubt you’ll have too many problems with it.

Erik January 11, 2008 at 3:32 AM

Excellent! Thank you for this!

braddock May 13, 2008 at 9:18 PM

Thanks much, very helpful little widget.

PzheL November 27, 2008 at 12:41 PM

Greetings!

Thanks for the script. However, I encountered some problem upon re-activating the plugin. Initially when I added the widget the popularity contest folder, I was told to upgrade to a newer version. After which the widget disappeared and I was told that my original plugin triggered a fatal error. Kindly assist. Thanks.

Jack Hughes November 27, 2008 at 12:57 PM

@PzheL – am I reading you correctly, did you add the widget to the folder in which the popularity contest plugin is located? If so, when you upgraded the plugin the widget may have been deleted? I wouldn’t recommend adding it to the same directory. Keep it separate.

PzheL November 28, 2008 at 7:11 AM

Oh, yea, I added them to the same directory. No wonder! haha, thanks for the help. great widget! =D

Scatterd December 6, 2008 at 9:11 PM

Howdy dudes!
At my blog, the widget dont work correctly. The articlenames are over others… can u give me hints, how to solve that?
When you visit my site, you see the widget at the bottom (the last widget called “beliebte Artikel”).
Thank you in advance!

Chris, Scatterd

Jack Hughes December 6, 2008 at 10:10 PM

@Scatterd – by the looks of it, the widget is using some CSS styles that probably aren’t defined in your template. Will look more closely on Monday when I am back at work and I can talk with the person who wrote the code.

Scatterd December 6, 2008 at 10:22 PM

That would be very nice. Thank you :-)

Dean Sykes December 9, 2008 at 11:58 AM

@Scatterd – I’ve had a look and can see the problem, basically whats happening is that the title for your articles are overflowing the space provided for them.
This can be fixed by a slight change of the style ‘.rsidebar ul li ul li’ (line 84 of your style.css).
You can either change the height attribute to ‘auto’, which will then display the full title without the overflow happening (e.g. height: auto;) or add

overflow: hidden;

which will stop the overflow but will also not display the whole article title.

The choice is yours!

Scatterd December 9, 2008 at 5:41 PM

Thank you so much. All works fine now :-)

Esti August 29, 2009 at 10:16 PM

I think this is wonderful – the only thing is, I’d like the percentages to stop showing on the widget – is there any way to do this?

Leave a Comment

Previous post:

Next post: