in a js file jetPack_meet_wpPostRating.js copy this code (place the file in the js folder of your theme):
in the functions.php file of your theme put this code:
- NOTE
- after installing the above scripts make sure to delete the browser cache before test.
- tested with latest wordpress, jetpack and wp-postrating versions.
- this will also work with multiple gallery in the same page.
- does not need to put any extra [ratings] shortcode anyware.
- the bounty for this answer is too low... ;)
- FIX
- Fixed bugs added some check and debug to consol.log...