WordPress.org

Plugin Directory

Most Read Posts in XX days

A simple plugin that counts and shows hits for each Post and Page in your WordPress blog.

  1. Upload the most-read-posts-in-xx-days directory in your /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. If needed, configure Plugin Settings and the Widget
  4. (optional) Place these tags in your template:
  • single.php or page.php in the Loop

    <?php ST4_single_hits(); ?>

  • index.php (and / or archive.php etc...), in the Loop

    <?php ST4_hits(); ?>

  • sidebar.php (only if you don't use Widgets)

// last 5 posts in last 30 days, show the hits, show image preview
    ST4_mostread(30, 5, 'yes', 'yes');
// show 10 posts from all published posts, show hits, don't show preview
    ST4_mostread(0, 10, 'yes', 'no');
// show 3 pages from all published pages, show hits, don't show preview
    ST4_mostread(0, 10, 'yes', 'no', 'page');

Requires: 2.6.3 or higher
Compatible up to: 4.1.5
Last Updated: 2014-9-6
Active Installs: 2,000+

Ratings

5 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.

100,1,1
100,2,2
100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1