WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

DynaPoll

The DynaPoll plugin enables you to embed your DynaPoll polls into your WordPress site. Create a poll at http://www.dynapoll.net.

For full detailed instructions and the usage demonstration video please check http://www.dynapoll.net/about/dynapoll_wordpress_plugin

It's really easy to use the plugin. Before you can though you need to know the Poll Code for the poll you wish to display. You can grab your poll code from the Vote URL of the poll. Whereever there is a link to the poll on this DynaPoll, whether it is in your My DynaPoll page, in the Poll Browser or anywhere else, you can see the URL for the poll by either clicking on the question or right clicking on the question and choosing the option to "Copy Link Address". The code is the last parameter of the vote URL which looks like this:

http://www.dynapoll.net/survey/vote/1gQXDBnMx3CDppWbaLDH4

The URL above is for the What is your favourite colour? poll and the poll code for this is: 1gQXDBnMx3CDppWbaLDH4

You will also need to know the theme you wish to use. If you are not sure just try them all - there are currently only 2. You can choose between "light" and "dark". The shade refers to the shade of the background of the site you are embedding the poll in. So for example if you have a really dark site with a dark background you will choose theme "dark".

There are several ways you can embed a DynaPoll Poll into your WordPress site:

In your Blog Posts or Page content put the following tag where you would like the poll to appear:

[dynapoll: 1gQXDBnMx3CDppWbaLDH4, dark]

OR

Anywhere in the WordPress Template put the following code:

<?php 
     $poll_code = '1gQXDBnMx3CDppWbaLDH4';
     $theme = 'dark';
     echo dynapoll_get_poll($poll_code, $theme); 
?>

OR

If you want to use it in a Dynamic Sidebar with a Widget we recommend downloading the PHP Code Widget by Otto. Drag the PHP Code Widget into your sidebar and paste the following code into the content of the Widget:

<?php
      $poll_code = '1gQXDBnMx3CDppWbaLDH4';
      $theme = 'light';
      echo dynapoll_get_poll($poll_code, $theme);
?>

NEW FEATURES Using very similar methods to above you can also now use a different call to grab a random poll that you have created back at DynaPoll. For this you will need to know your User Code. The User code will be shown on your "My DynaPoll" page (right hand side bottom of the user menu - for now!).

It's extremely similar to the above but to be clear this is how it's done. For the below example the user code is "98QXDBnMGGCDpFFaLD89".

In your Blog Posts or Page content put the following tag where you would like the random poll to appear:

[dynapoll_random: 98QXDBnMGGCDpFFaLD89, dark]

OR

Anywhere in the WordPress Template put the following code:

<?php 
     $user_code = '98QXDBnMGGCDpFFaLD89';
     $theme = 'dark';
     echo dynapoll_get_random_poll($user_code, $theme); 
?>

OR

If you want to use it in a Dynamic Sidebar with a Widget we recommend downloading the PHP Code Widget by Otto. Drag the PHP Code Widget into your sidebar and paste the following code into the content of the Widget:

<?php
     $user_code = '98QXDBnMGGCDpFFaLD89';
     $theme = 'dark';
     echo dynapoll_get_random_poll($user_code, $theme); 
?>

Requires: 2.9 or higher
Compatible up to: 2.9.2
Last Updated: 2010-5-14
Downloads: 3,853

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1