Title: Tivy Popular Posts
Author: tivy
Published: <strong>November 27, 2026</strong>
Last modified: November 27, 2026

---

Search plugins

![](https://ps.w.org/tivy-popular-posts/assets/icon.svg?rev=3829191)

# Tivy Popular Posts

 By [tivy](https://profiles.wordpress.org/tivy/)

[Download](https://downloads.wordpress.org/plugin/tivy-popular-posts.1.0.4.zip)

 * [Details](https://wordpress.org/plugins/tivy-popular-posts/#description)
 * [Reviews](https://wordpress.org/plugins/tivy-popular-posts/#reviews)
 *  [Installation](https://wordpress.org/plugins/tivy-popular-posts/#installation)
 * [Development](https://wordpress.org/plugins/tivy-popular-posts/#developers)

 [Support](https://wordpress.org/support/plugin/tivy-popular-posts/)

## Description

Missing the Top Posts list from Jetpack? Tivy Popular Posts counts views on your
own site and shows your most-read posts as a numbered list, in a sidebar, under 
an article or on a “best of” page.

**Private by design**

 * No cookies, no IP addresses, no browser details stored
 * Only a daily total per post is kept, nothing about the visitor
 * No external services: everything stays in your own database
 * Suggested privacy policy wording added to Settings  Privacy

**Works with page caching**

Many popular-post plugins only count visits that reach PHP, so they miss most views
on cached sites. Tivy Popular Posts counts from the browser with a tiny script (
under 1 KB, no jQuery), so it works with Cloudflare, WP-Optimize, WP Rocket and 
other caches.

**Accurate counts**

 * Known bots and crawlers are ignored
 * Each post is counted once per visit, however many times it’s reloaded
 * Your own visits aren’t counted while you’re logged in as an editor or administrator
 * Prerendered pages are only counted if the visitor actually opens them

**Flexible display**

 * Any period: today, this week, this month, this year or all time
 * Numbered or plain list, with or without featured images and view counts
 * Posts, pages or any public post type
 * Leave out the post being read, or specific posts
 * Your front page and posts page are left out automatically
 * A block, a shortcode and PHP template tags
 * Inherits your theme’s fonts and colours

**View counter on posts**

Show “1,234 views” on each post, automatically before or after the content, or wherever
you like with the `[tivy_post_views]` shortcode.

**Light on your database**

One small row per post per day. Old rows are pruned automatically (after 400 days
by default), and lists are cached for ten minutes.

### Usage

    ```
    [tivy_popular_posts]
    [tivy_popular_posts number="10" days="7"]
    [tivy_popular_posts days="0" show_views="yes"]
    [tivy_popular_posts thumbnails="yes" style="list" exclude_current="yes"]
    ```

Attributes (all optional, defaults from Settings  Popular Posts):

 * `number`: how many posts (1–50)
 * `days`: period in days; `1` = today, `0` = all time
 * `post_type`: comma list, e.g. `post,page`
 * `show_views`: `yes` or `no`
 * `thumbnails`: `yes` to show featured images
 * `style`: `numbered` or `list`
 * `exclude`: comma list of post IDs to leave out
 * `exclude_current`: `yes` to leave out the post being read
 * `empty`: text shown before any views are recorded
 * `class`: extra CSS classes
 * `debug`: `yes` shows administrators the attributes the shortcode received

**View counter**

    ```
    [tivy_post_views] shows the current post's views. Attributes: `id` (another post), `days` (`0` = all time), `label` (`no` for just the number).
    ```

**Template tags**

    ```
    <?php tivy_pp_popular_posts( array( 'number' => 5, 'days' => 7 ) ); ?>
    <?php $items = tivy_pp_get_popular( array( 'days' => 30 ) ); ?> returns an array of `array( 'post' => WP_Post, 'views' => int )`.
    <?php tivy_pp_post_views(); ?> echoes "1,234 views" for the current post; `tivy_pp_get_post_views( $post_id, $days )` returns the number.
    ```

## Blocks

This plugin provides 1 block.

 *   Popular Posts Your most-read posts and pages, counted privately.

## Installation

 1. Install and activate the plugin. Counting starts straight away.
 2. Go to **Settings  Popular Posts** to choose what’s counted and your display defaults.
 3. Add the **Popular Posts** block, or the `[tivy_popular_posts]` shortcode, wherever
    you want the list.

## FAQ

### When will the list show something?

As soon as posts are viewed. A new install starts from zero; it doesn’t import history
from other plugins.

### Do I need to mention it in my privacy policy?

It stores no personal data and sets no cookies. Suggested wording is added to Settings
Privacy if you’d like to mention it anyway.

### Can counts be faked?

The counter is public by design, so a determined person could add views. Normal 
visitors, reloads and known bots won’t distort the figures.

### Will it slow my site down?

Each view adds one tiny background request and one database write. Lists are cached
for ten minutes, so showing them is fast.

### Does it work with page caching?

Yes. Counting happens in the visitor’s browser, so cached pages are counted too.

### Can developers change what’s counted?

Yes. Filters: `tivy_pp_count_view` (whether a view counts), `tivy_pp_is_bot` (bot
detection).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Tivy Popular Posts” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ tivy ](https://profiles.wordpress.org/tivy/)

[Translate “Tivy Popular Posts” into your language.](https://translate.wordpress.org/projects/wp-plugins/tivy-popular-posts)

### Interested in development?

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

## Changelog

#### 1.0.4

 * Settings page: add-ons can show their own section above Reset.

#### 1.0.3

 * New: per-post view counter – `[tivy_post_views]`, template tags, and an option
   to show it before or after post content.
 * List markup is now shared with add-ons.

#### 1.0.2

 * Code tidy-up for Plugin Check (no change in behaviour).

#### 1.0.1

 * The front page and posts page are left out of lists by default (setting to include
   them).
 * An empty or unreadable post_type now falls back to your settings instead of listing
   every type.
 * New debug attribute to show administrators what the shortcode received.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.4**
 *  Last updated **17 minutes ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.3 or higher **
 *  Tested up to **7.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [most-viewed](https://wordpress.org/plugins/tags/most-viewed/)[popular posts](https://wordpress.org/plugins/tags/popular-posts/)
   [privacy](https://wordpress.org/plugins/tags/privacy/)[top posts](https://wordpress.org/plugins/tags/top-posts/)
   [trending](https://wordpress.org/plugins/tags/trending/)
 *  [Advanced View](https://wordpress.org/plugins/tivy-popular-posts/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/tivy-popular-posts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/tivy-popular-posts/reviews/)

## Contributors

 *   [ tivy ](https://profiles.wordpress.org/tivy/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/tivy-popular-posts/)