Votio

Votio adds a little voting box to a post and keeps a running average of the ratings that are voted.

You need to add a tag to your template where you want the voting box to appear:

votio_ballot_box()

That inserts the voting box. You will probalby want to style your voting box, too, for which you may want this CSS:

.votio {
border:1px solid #c8c8de;
margin: auto;
width: 150px;
padding: 5px;
text-align: center;
}

.votio .stars .vote {
cursor: hand;
}

.votio .votes {
font-size: xx-small;
}

Inside the votio.php code file, youG€™ll need to look for the $vote_cats variable. This is a comma-separated list of the names of the categories that will get voting boxes. Only the categories you specify will get the voting box. You could create a new category (G€¯voteG€¯) and have only that in the list, then assign that category to any post that you wanted to add voting capabilities to.

What is Red Alt?

Red Alt is an outlet for Owen Winkler's web tools and provides a consolidated and organized archive of other online web development tools and resources.

Development Headlines