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.

How to use?

It is not enough to install and activate the plugin to make it work properly. You also need to add 2 actions to the template.

  1. do_action( 'cherry_trend_posts_display_rating' ) / do_action( 'cherry_trend_posts_return_rating' ) - display / return HTML for ratings
  2. do_action( 'cherry_trend_posts_display_views' ) / do_action( 'cherry_trend_posts_return_views' ) - display / return HTML for post views counter

For example, in the twentysixteen template you need to add the actions to the template-parts/content-single.php file. In your template the actions can be stored in a different file.

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.