WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Cherry Trending Posts

Adds rating and views count for posts and custom post types.

Documentation

Options

You can place the list of your top posts on any page using the Widgets tab in your WordPress dashboard. The Cherry Trending Posts widget itself is highly customizable: besides the basic settings such as specifying the widget title and setting the maximum displayed length of a post title you can:

  • Filter the posts by their views, comments or rating;
  • Choose, whether to show the most rated or the highest rated posts;
  • Show post from specific tags and categories;
  • Display or hide certain metadata (post author, publishing date, rating, comments, etc.);
  • Set the excerpt length (if displayed);
  • Change the button text;
  • And more.

Widget

You can add the posts to the pages with the help of widget which offers you the following settings.

  1. Title - Specify the widget title
  2. Title length in characters (0 -- hide, -1 -- full) - Set title length
  3. Filter by:
    • Views - Filter posts by Views
    • Rating - Filter posts by Rating
    • Comments - Filter posts by Comments
  4. Select rating type:
    • Most Rated - Filter posts by Most Rated type
    • Highest Rated - Filter posts by the highest rate
  5. Show from:
    • Category - Show posts from category
    • Tag - Show posts by tags
  6. Number of post to show (Use -1 to show all posts) - Here you can define the number of posts to display
  7. Offset (ignored when "posts_per_page" => -1 (show all posts) is used) - This property specifies the number of post to displace or pass over
  8. Excerpt length in words (0 -- hide, -1 -- all) - This property sets the number of words limit for excerpt
  9. Display meta - This feature adds metadata to the post:
    • Date
    • Author
    • View
    • Rating
    • Comments
    • Category
    • Tag
    • Read More
  10. Button text - Add text to the button

Cache

If any of the cache plugins is used on the website, for a proper operation of the post ratings counter, you need to add the following code to the functions.php file:

add_filter( 'cherry_trend_posts_cache_fix', '__return_true' );

Requires: 4.5 or higher
Compatible up to: 4.6.2
Last Updated: 2 months ago
Active Installs: 30+

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.