What i'm trying to do here is to modify the existing wp-postratings plugin. The function to display the ratings is:
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
However, the above code displays the ratings on every post. What would be the conditional statement to add such that if a post has a custom field with name/value as ratings/yes
This way, based on the conditional statement, the ratings would be displayed only on posts where the custom field has the ratings/yes added.
