Templates, HTML and CSS used to render our voting page.
-
Make sure WP-Polls and Page Specific Stylesheet plugins are installed.
-
In
Dashboard > Polls > Poll Templates
, replace the current templates with those included in this repo (template_*.html
). -
Create Polls, one for each position. Note down the
answer_id
for each option. -
Edit the voting page, including the new Polls (similar to
vote.html
) -
Under
Page Specific Stylesheet
, replace the current custom CSS with the content ofvote.css
. Edit the final section with the respective image link for each candidate, abiding the format
#poll-icon-[answer_id] {
background-image: url('http://i.imgur.com/mufrgkF.png');
}