·

photo credit: Kalexanderson via photopin cc

How to create a ‘Rate this post’-plugin for WordPress

I’ve been pondering with the idea of a specific WordPress plugin for a while now, and I had the idea that when I am going to create it, I am also going to write it down in a simple tutorial for you guys to read. So let’s get started shall we?

What are we going to create?

We are going to create a ‘was this post helpful’-plugin. The idea is very simple: below each post we want to show the question ‘was this post helpful?’. Visitors can select 3 options: ‘yes’, ‘no’ or ‘neutral’. The average of these input values are going to be displayed as well below the post. We also wan’t to ask users feedback as to why a post was or wasn’t helpful.
If you want, you can download the plugin on my my Github page. If you want to be supercool and create it all by yourself, proceed to the first step!

Leave a Reply