About this plugin
IaVote enables bloggers to add voting functionality to their posts. Include 2 widgets: resume votes and most voted.
Features:
- Vote for the best and worst
- Length of time to vote
- Dates of the votes
- Selection of votes: day, week, month and all
- Custom Pages listings votes
- Language options
php
##
Widget 1: total of votes in week, month, day and forever
Add in wordpress panel widged or insert this code in your theme:
Widget 2: Resume pages
1- create the diferent pages in wordpress: latest, random, mostComment, lessVoted, mostVoted
php
php:
global $options; widget_iavote_pages( $options['widget-pages']['latest'], $options['widget-pages']['random'], $options['widget-pages']['mostComment'], $options['widget-pages']['lessVoted'], $options['widget-pages']['mostVoted'] );
php before:
and before insert: