Popular post

Get popular posts easily using orderby in your query string with 'popularity' argument.

Author:Gorakh Shrestha (profile at wordpress.org)
WordPress version required:
WordPress version tested:4.5.29
Plugin version:1.0
Added to WordPress repository:09-01-2016
Last updated:21-06-2016
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.gorakh.com.np/
Total downloads:1 082
Active installs:10+
plugin download
Click to start download

This plugin allow you to easily fetch popular post and get total view in post. Simply use 'orderby'=>'popularity' in query string.

Add 'post','posts_per_page'=>-1,'orderby'=>'popularity');
$query = new WP_Query($args);

?>

Features

  1. Support the custom post type
  2. Option page to allow popular post option in post type.(Setting > MPP Setting)
  3. Can easily get total view for particular post using get_view_number(), get_view_string(). Function must be within loop.
  4. To print the total view for particular post the_view_number() and the_view_string() both function are almost same but the_view_string() return with ‘views’ text.