How to enable users to down-vote in this simple voting counter (that uses the post meta)?
You will have to make a second button for down voting. Give the upvote button a class of up and the down vote button a class of down. jQuery <?php wp_enqueue_script( ‘jquery’ ) ?> <?php wp_head(); ?> <script type=”text/javascript”> jQuery(document).ready(function() { jQuery(“.vote a.up”).click( function() { var some = jQuery(this); var thepost = jQuery(this).attr(“post”); var theuser … Read more