• Hi,

    I have site http://saraon.org designed for Hindi story competition. To use voting system i am using “WP-PostRatings” plugin on my site and it is working as it should be. Now the issue is that i want those ratings only on my post and not on pages as pages won’t host competition. When i checked with plugin author he recommended following

    “Contact your theme author. I will not know which file your theme uses to display post only and not pages because it really depends on how the theme works. Some theme share the same loop for posts and pages.”

    Please help me out here.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Richie KS

    (@rkcorp)

    most easiest way would be hide them in pages, add this to theme option->custom css

    body.page .post-ratings {display:none !important;}

    Thread Starter psushant577

    (@psushant577)

    I tired this but didn’t worked. The issue is that rating was not showing on pages and that is what i want, but when i modified my page with correction it started counting it also in rating(you can see in side bar). Now i am afraid if i would update my other pages then rating would reflect there too and i don’t want that. Please help. Let me know if i can contribute someting

    Theme Author Richie KS

    (@rkcorp)

    Now the issue is that i want those ratings only on my post and not on pages as pages won’t host competition.

    do you want the rating on page or not? your first statement means no.

    the rating plugin use filter on the_content() so issue would point to how the plugin flitered the_content(), not theme dependable. the theme use the same loop for post and page. try php solution like add the rating php functions code to single.php only.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with rating to show only on post.’ is closed to new replies.