Vote For Post Plugin is my new WordPress plugin, for voting your posts. Your visitors can vote for your post, from 1 to 5. You can set description for grades, from poor to superb, in WordPress options.
One visitor can vote only one time, for one post in your blog. This plugin is very easy for use.
- Copy VoteForPost.php to Plugin folder in WordPress
- Activate this plugin in WordPress Plugins
- Add this code
in index.php before any code.
- In WordPress admin, in Options, you can see new tab “Vote For Post Plugin”, there you can set grade descriptions
- Plugin is installed and ready for using
When you are log-in as admin you can inly see Results if there is votes, and only visitors can vote.
Now u can add this code in style.css file, to make your vote table good looking.
.naslov_glasanja is for Table headline, background of “Vote for this plugin”, and .glasanje is for background of radiobuttons. You can change this CSS in your way.
For next version, i am planing, to you can set headline title and submut button value your own.
Give me some comments, new ideas and critics please, and if u see some bug inform me! Afcourse download this plugin and try it in your own blog!
Latest changes and new versions:
Version 1.1 is hire. There is a bug with table_prefiks, and everyone who don’t have prefiks ‘wp_’ this plugin make problems. Now this is solved, and u can test new fresh plugin version!