Title: Most Read Posts in XX days
Author: Claudio Simeone
Published: <strong>November 15, 2008</strong>
Last modified: May 29, 2019

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/most-read-posts-in-xx-days.svg)

# Most Read Posts in XX days

 By [Claudio Simeone](https://profiles.wordpress.org/mrbrown/)

[Download](https://downloads.wordpress.org/plugin/most-read-posts-in-xx-days.zip)

 * [Details](https://wordpress.org/plugins/most-read-posts-in-xx-days/#description)
 * [Reviews](https://wordpress.org/plugins/most-read-posts-in-xx-days/#reviews)
 *  [Installation](https://wordpress.org/plugins/most-read-posts-in-xx-days/#installation)
 * [Development](https://wordpress.org/plugins/most-read-posts-in-xx-days/#developers)

 [Support](https://wordpress.org/support/plugin/most-read-posts-in-xx-days/)

## Description

Most Read Posts counts Post and Pages hits and allows you to show them in:

 * The Single Post page
 * The Page page
 * Index and Archive pages
 * The Sidebar through a configurable Widget, also with featured images

## Screenshots

 * [[
 * The Sidebar Widgets in front-end: one for Pages, one for Posts.
 * [[
 * Every widget is configurable.
 * [[
 * The Plugin Settings Page.
 * [[
 * In the Edit Posts and Page Screen you have a column with the Hits and you can
   also edit them.

## Installation

 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’);

## FAQ

  Can I show the most read Posts without the date limit?

Yes, you can remove the date limit in the Sidebar widget settings

  Can I display Post and Page featured images?

Yes, you can display them through Sidebar widget settings

  Can I track also Pages?

Yes, since version 2.3.2 you can show Page hits through Sidebar widget settings

  Can I import Page and Post hits from a different plugin?

Yes, since 2.4 version you can edit hits through the Bulk and Quick Edit screens.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Most Read Posts in XX days” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ Claudio Simeone ](https://profiles.wordpress.org/mrbrown/)

“Most Read Posts in XX days” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/most-read-posts-in-xx-days/contributors)
for their contributions.

[Translate “Most Read Posts in XX days” into your language.](https://translate.wordpress.org/projects/wp-plugins/most-read-posts-in-xx-days)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/most-read-posts-in-xx-days/),
check out the [SVN repository](https://plugins.svn.wordpress.org/most-read-posts-in-xx-days/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/most-read-posts-in-xx-days/)
by [RSS](https://plugins.trac.wordpress.org/log/most-read-posts-in-xx-days/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.7.1

 * Moved translation files in `languages` directory to comply WordPress Plugin Repo
   localization requirements

#### 2.7

 * Fixed PHP 7 deprecated warning about PHP 4 style constructors on MostRead Widget

#### 2.6

 * Improved custom DB table registration to avoid PHP warnings on plugin activation
   on some hosts
 * WordPress multisite support added
 * Aligned version number (2.6) in `readme.txt` and `ST4_most_read.php`

#### 2.5

 * Corrected informations in `readme.txt`

#### 2.4

 * Added a new field in the Bulk and Quick Edit screens to edit Posts and Page Hits(
   useful if you want to import manually hits from another stats plugin).
 * Some bugs fixed
 * Changes and fixes in localization files
 * Added plugin screenshots
 * Corrected informations in `readme.txt`

#### 2.3.2

 * Added hits count also for Pages.
 * Added a sortable column with Page Hits in All Pages Administration Screen.

#### 2.3.1

 * Added a sortable column with Post Hits in All Posts Administration Screen.

#### 2.3

 * Some bugs fixed
 * Added new Widget option to show featured image preview
 * Added new Widget options to remove the date filter
 * Added new Plugin Option to show post hits automatically
 * Added new Plugin Option to use custom CSS rules
 * Added new Plugin Option to set image preview custom CSS sizes
 * Changes in localization files

#### 2.2

 * Code upgrade for WordPress 2.8 compatibility.
 * Added new function `ST4_get_post_hits()` to get post hits outside the Loop
 * Changes in localization files
 * Code optimization

#### 2.1

 * First release.

## Meta

 *  Version **2.7.1**
 *  Last updated **7 years ago**
 *  Active installations **300+**
 *  WordPress version ** 2.6.3 or higher **
 *  Tested up to **5.2.24**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/most-read-posts-in-xx-days/) and
   [Italian](https://it.wordpress.org/plugins/most-read-posts-in-xx-days/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/most-read-posts-in-xx-days)
 * Tags
 * [count](https://wordpress.org/plugins/tags/count/)[hits](https://wordpress.org/plugins/tags/hits/)
   [posts](https://wordpress.org/plugins/tags/posts/)[stats](https://wordpress.org/plugins/tags/stats/)
   [visits](https://wordpress.org/plugins/tags/visits/)
 *  [Advanced View](https://wordpress.org/plugins/most-read-posts-in-xx-days/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/most-read-posts-in-xx-days/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/most-read-posts-in-xx-days/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/most-read-posts-in-xx-days/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/most-read-posts-in-xx-days/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/most-read-posts-in-xx-days/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/most-read-posts-in-xx-days/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/most-read-posts-in-xx-days/reviews/)

## Contributors

 *   [ Claudio Simeone ](https://profiles.wordpress.org/mrbrown/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/most-read-posts-in-xx-days/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=JH5C8NEPH7M8U&currency_code=EUR&source=url)