Hopefully I can explain this. I have custom post types for movie reviews and book reviews. I have a custom taxonomy (behave as tags) called Rating with the following values: 1, 2, 3, 4, 5
I want to output the rating I choose as an image. For example, if I rate a movie/book as 1, it will output an image of 1 star. If I rate a book/movie as 4 it will output an image of 4 stars (and so on).
What I have right now is:
<?php echo get_the_term_list( $post->ID, 'rating', 'Rating: ', ', ', '' ); ?></li>
Which displays the number of the rating, not an image (obviously).
How do I go about doing this? I have been trying for weeks (maybe months) off and on to no avail. I'd appreciate any help in the right direction.