how to display the just the stars at the article previews on the homepage
I have few blocks of article previews on the homepage.
Each preview has game title, game thumbnails, description. I want
the starts to appear under the thumbnails.
I manage to get the Average rating to appear by using this (posted by lukelukeluke)
Average rating: <?php $key="ratings_average";echo get_post_meta($post->ID, $key, true);?>
Instead of the average rating, I need to show the stars.
Hope anyone can help me on this. Thanx 🙂
- The topic ‘how to display the just the stars at the article previews on the homepage’ is closed to new replies.