Sorting a table by a “vote” count
Okay…I’m curious to see if this is possible, and if so, how it can be done.
I already have a table that with sortable column headings. (For the sake of this discussion, let’s say it’s a list of NFL teams.) Each “team” has their own little info page that’s linked up and accessible through this table.
Here are the things I’m looking to do with this…
1. I want to give readers the ability to “vote” for their favorite team, right on the table. As in, the rightmost column would be a kind of “Vote for this team” button. Is there a plugin that offers that kind of functionality?
2. Ideally, the vote would be such that I can sort the table by vote count.
3. To go along with that, I’d like the table’s default order to be the “teams” with the most votes, from highest to lowest. (I use the wp-Table plugin to manage my table, so I don’t know if that’s possible under it’s current format.)
Is this at all possible? It’s for sure outside of my expertise, so I greatly appreciate any help and I thank you all in advance.
- The topic ‘Sorting a table by a “vote” count’ is closed to new replies.