[Plugin: WP-PostRatings] How to display 'top post' lists
-
Great plugin! I need a bit of help figuring out how to show show 3 different ‘top posts’ lists though. I’m not using widgets so I’m looking to add the code directly into my theme files:
1 – Top 5 posts of the week.
I’ve already got this one partially working using the function below. Currently it just shows the post title and number of votes received for each one. Is there any way to show the rating stars and rating text in addition and sort them highest to lowest?
get_highest_score_range('7 days','post',5);
2 – Top 5 posts of the week by tag.
Same as above except I want to list the top 5 posts for a specific tag (e.g. football posts tagged ‘Arsenal’).3 – Top 5 rated categories
This needs to list the top 5 categories by their average post ratings, highest to lowest.Can this be achieved using the ‘expand_ratings_template’? I’ve seen it mentioned here but haven’t seen any documentation on how to use it.
Thanks for any help you can offer!
- The topic ‘[Plugin: WP-PostRatings] How to display 'top post' lists’ is closed to new replies.