Voting weight | WordPress.org

Hello @ikus1i

Thank you very much for using our plugin. The implementation will depends on your data.

If every person has associated a weight for a survey with three possible answers. Each time a user votes, you can populate four variables in the database, I will call them A, B, C, and TOTAL.

If the user selects the first choice, the variables A and TOTAL will be increased in the user weight.

If the user selects the second choice, you can increase the variables B and TOTAL, and C and TOTAL if the user selects the third choice.

At the end of the process, you can generate the ranking of the votes by comparing the values A/TOTAL, B/TOTAL, and C/TOTAL. Or if you want them into percentages: A/TOTAL*100, B/TOTAL*100, and C/TOTAL*100

Best regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer