Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have Boldy theme on a 3.2.1 instance of Wordpress.

I have installed the plugin WP-PostRatings.

I want it to show up on my individual posts when posts are viewed individually on a page.

  • I installed and activated the plugin.
  • I added
    if(function_exists('the_ratings')) { the_ratings(); } ?>
    within my single.php file, as shown in pastebin.

However, nothing is happening with my blog posts when viewed as single pages.

Have I put the code in the wrong place/file?

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

few things you can check

  1. the code is within the loop
  2. the plugin is activated
  3. check plugin option page and select a rating type
  4. check page source code and see what is being generated.
  5. if all ok. your css is not blocking any rating star tag.
  6. de-activate, uninstall, delete and re-install the plugin
share|improve this answer
    
1. yes, right under 2. yes 3. Done - tried others 4. No mention of ratings where id expect it (Above post title) 5. Do not think so... 6. Tried and same issue. –  Simon Oct 20 '11 at 10:47
    
Was an issue with the code. Sorted + Thanks! –  Simon Oct 21 '11 at 4:45
add comment

ok some more thoughts. do you have

<?php wp_footer(); ?>

in your theme's footer.php

do you have any lightbox plugin installed?

deactivate all plugins except rating, then does it work?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.