Problem with article rating

Elite
  • 665 points
    Like some sort of WPMU DEV God"
    Qlof

    Member  —  18th August 2010 (1 year ago)         

    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: http://refereelogbook.fotbollsbloggar.nu/ click on an article or page and you'll see what I mean.

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

    <?php
    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.