If you would like to host one of your polls or, indeed, any poll from DynaPoll on your site then this is the plugin for you!
You can setup a DynaPoll poll on
http://www.dynapoll.net
It's extremely easy to install and even easier to use this plugin.You can check out the following video which demonstrates the use of the plugin.
http://www.youtube.com/watch?v=Kp707w1B4Zg
Full instructions found at:
http://www.dynapoll.net/about/dynapoll_wordpress_plugin
== Installation ==
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); ?>