Here modification original square it polls v1.0.0.
My fast test show that plagin is work.
What is not work in v 1.0 from squareit: Not increement votes; Not save cookies;
What is not good in v 1.1: Code optimization isa bad (i hav't time to optimize or rewrite plugin)
What change back-end: i add new action "index-pretemplate" for save polls (this avaliable save cookie) and some changes for this working
What change front-end: Now plugin work with component block 'polls', and not support any more pages
How install: Just unzip to plugin folder
How use:
1. Create new poll from admin panel
2. Copy poll code (like {squareit_poll_4d7ed1d0630e0} )
3. Go Administaration panel - Theme - Edit components
4. Create new component and name it 'polls' !important (without quotes).
5. Insert this codeto theme (where you want see polls)
Note: you must insert if you want see poll css;
My fast test show that plagin is work.
What is not work in v 1.0 from squareit: Not increement votes; Not save cookies;
What is not good in v 1.1: Code optimization isa bad (i hav't time to optimize or rewrite plugin)
What change back-end: i add new action "index-pretemplate" for save polls (this avaliable save cookie) and some changes for this working
What change front-end: Now plugin work with component block 'polls', and not support any more pages
How install: Just unzip to plugin folder
How use:
1. Create new poll from admin panel
2. Copy poll code (like {squareit_poll_4d7ed1d0630e0} )
3. Go Administaration panel - Theme - Edit components
4. Create new component and name it 'polls' !important (without quotes).
5. Insert this code
Code:
<?php echo squareit_display_poll(); ?>
Note: you must insert
Code:
<?php get_header() ?>