Page 1 of 1

Adding a Poll Plugin to the Journal?

Posted: Thu May 12, 2011 4:19 pm
by imslp
I was just wondering how hard it would be to add a polling plugin to the journal. We have a major project coming up, part of which requires polling. Plus, might be fun to run some small polls from time to time. :)

Re: Adding a Poll Plugin to the Journal?

Posted: Thu May 12, 2011 8:22 pm
by Philidor
Done! See Journal front page top right. It's recently installed (obviously) and not fully tested. I suspect some browsers will hate it - tested in Chrome only so far. Any problems please report here.

Authors should now have the permissions necessary to manage polls. To embed a poll in a post simply assemble your poll (options bottom left of dashboard) and insert...

Code: Select all

<?php get_poll(2); ?>
... in the body of the post, where 2 is your poll id. The current test poll is posted via a widget, but both methods are possible (simultaneously) - the same poll can be scattered about the Journal wherever you want.

Re: Adding a Poll Plugin to the Journal?

Posted: Thu May 12, 2011 9:05 pm
by imslp
Wow... that was fast. ;)