Hello,
I am trying to display a rating in a custom made hover or "tooltip" box but I am struggling.
I have got everything else to show in the box (post title, description and thumbnail) but when I try to call for the ratings all that I get presented with is the default "no rating yet" even though I know that they are rated.
Below is an example of the code that I am using so that you can see if I am using the call function incorrectly:
Please note: I have removed some of the code so that it is not so large.
<?php foreach ($games as $post) : $do_not_duplicate = $post->ID; ?>
<div class="game_title" onmouseover="writetext(game<?php the_ID(); ?>)" onmouseout="notext()">
<a href="<?php the_permalink() ?>" class="tt<?php the_ID(); ?>" rel="bookmark" >
<?php myabp_print_thumbnail(85, 85); ?>
<div id="gamepopup"></div>
</a>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
<div style="height:2px; width:2px;"></div>
</div>
<?php endforeach; ?>
I would be thankful for any advice on how to overcome this issue.
Kind Regards
Ben Reed