Okay
  Print

Ordering posts by views

If ordering posts by views the theme will order by daily views but you can also order by weekly, monthly and all time views. To do this activate the Magzine Child theme and in the child theme's functions.php file add:

function ghostpool_custom_views_order() {
    return 'views_weekly';
}
add_filter( 'ghostpool_most_views_meta_key', 'ghostpool_custom_views_order' );
add_filter( 'ghostpool_least_views_meta_key', 'ghostpool_custom_views_order' );

You can use: views_total, views_monthly views_weekly, views_daily