KF most read

0

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:

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

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

    ?>