Most Read Posts in XX days
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
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 & previews.
- 01Upload the most-read-posts-in-xx-days directory in your /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03If needed, configure Plugin Settings and the Widget
- 04(optional) Place these tags in your template:
- 05single.php or page.php in the Loop <?php ST4_single_hits(); ?>
- 06index.php (and / or archive.php etc…), in the Loop <?php ST4_hits(); ?>
- 07sidebar.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’);