This plugin hasn’t 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.

KF most read

Description

This plugin provides a function to register/output/return a list of the most viewed posts.

Usage

You can use the function kf_get_posts_by_hits() anywhere in the template.
Examples:

Most read

    <!-- Return mode (no output), retrieve the 5 most read posts in 31 days -->
    <?php 

        $my_posts = kf_get_posts_by_hits(31,5);
        // .. do some magic with $my_posts

    ?>

Installation

As always:
1. Upload the file under your wp-content/plugins directory
1. Activate the plugin

Contributors & Developers

“KF most read” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1 Fixed some minor bugs.