Forums

WP-PostRatings
Exclude Categories (2 posts)

  1. evanthorpe
    Member
    Posted 3 months ago #

    Hi,

    We use WP-PostRatings on our site, but I'm hoping to be able to exclude certain categories from using the post rating system. Is there anything I can do to remove these categories from using the post ratings system?

    Thanks. Here is the code that is getting used to post those ratings to a post:

    <?php if(function_exists('the_ratings')) {//echo("<strong class=\"remark\">Rating: ".get_rating_remark(get_the_ID())."</strong>");the_ratings();} ?>

    Here's the site: http://www.lisasliquorbarn.com

    http://wordpress.org/extend/plugins/wp-postratings/

  2. evanthorpe
    Member
    Posted 3 months ago #

    Sorry, it seems like the code didn't properly show up:

    <?php
    									if(function_exists('the_ratings')) {
    										//echo("<strong class=\"remark\">Rating: ".get_rating_remark(get_the_ID())."</strong>");
    										the_ratings();
    									}
    							 ?>

Reply

You must log in to post.

About this Plugin

About this Topic