Problem with article rating

I recieved help from here to get GD Star Rating to work on my wpmu install. It’s been working great until now.

The theme twentyten is displaying the star ratings several times. Once below the article name, like I want it to do, and also twice at the site top. Here’s an example: click on an article or page and you’ll see what I mean.

This is the code I used in a mu-plugin:


add_filter('the_content', 'rating');

function rating($content) {

if(function_exists('the_ratings')) {

return $content . the_ratings();

} else {

return $content;




I would really appreciate if anyone knew how I could fix this? If I remove the custom mu-plugin with the above code, the stars will not show at all.