Support » Plugin: WP-PostRatings » Single Custom Post Type association

  • Resolved diegobrrspf



    How can I associate the plugin with only ONE Custom Post Type, and then automatically show the ratings in any page/post of this CPT?

    Thanks a lot! What an incredible plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lester Chan


    Put the code in that post type only?

    if ( $post->post_type === 'YOUR_POST_TYPE' ) {
    Thread Starter diegobrrspf


    Hi Chan!

    First of all, thanks a lot for your prompt response!

    In what file I have to put that code? The index.php?

    Thanks and congratulations again for your outstanding work.

    Plugin Author Lester Chan


    I can’t help you on where to put the code, it really depend on the theme. Too many possible places. I would suggest contact your theme author instead.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Single Custom Post Type association’ is closed to new replies.