Viewing 1 replies (of 1 total)
  • You could try something like this:

    Hook into the_content before the kento_star_rate_frontend filter has been called, check if it’s a page, and remove the kento_star_rate_frontend filter.

    add_filter( 'the_content', 'no_star_ratings', 0 );
    
    function no_star_ratings( $content )
    {
        # page(s) to remove star ratings from
        'page' === is_page() && remove_filter( 'the_content', 'kento_star_rate_frontend' );
        return $content;
    }

    This reference may help you if you want to tweak which pages show stars or not
    http://codex.wordpress.org/Function_Reference/is_page

Viewing 1 replies (of 1 total)
  • The topic ‘How to Prevent Star Rating on Pages’ is closed to new replies.