Support » Plugin: kk Star Ratings » Showing ratings only on a specific custom post type?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am doing this pretty easily by simply choosing NOT to show in posts in the plugin settings, and then in my CPT template inserting the function to display the ratings. <?php if(function_exists("kk_star_ratings")) : echo kk_star_ratings($pid); endif; ?>

    @draivika, this is exactly what i’m trying to achieve, on a custom post type (which i couldnt have chosen in settings) but im getting “Fatal error: Call to undefined function k_star_ratings()”; could this be because im working with a child theme perhaps? If someone can, please point me in the right direction; much appreciated!

    @lifesgood I don’t have a child theme setup to test. Where are you adding this code exactly?

    I ended up doing this with css {display:none;} on my posts.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Showing ratings only on a specific custom post type?’ is closed to new replies.