Sorry, I don’t get your question, can’t you just add <?php the_ratings(); ?>
to the archive page?
hi!
i want to show the rating of every post on the category or archive page, where all posts are shown as “previews” with it’s title, thumbnail and excerpt.
And i’d like to show the rating of the post in this preview also.
So it would be perfect to have and php code ( which shows the rating of the post ) to add into the category or archive-template.
P.S. Found this code – is that the right one?:
<?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>
That’s it! Thank you, this is the code i was looking for!
<?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>
I’d like to do the same thing, but with the stars being read-only. Is that possible?
Basically, I’d like to have the stars on a post list only to show their rating. Users would have to go into the actual post before being able to rate it. Are there any functions or parameters I can use to make it so?
Try <?php echo the_ratings_results(get_the_id()); ?>
Hi,
great tip! One question left – in which file can i change/customize the text of the “hoover-tooltip”? Would appreciate this 🙂
The hover tooltip text is native by the browser. You can’t change it