Title: Mostify
Author: ducntnz
Published: <strong>May 17, 2026</strong>
Last modified: May 17, 2026

---

Search plugins

![](https://ps.w.org/mostify/assets/icon-256x256.png?rev=3534174)

# Mostify

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

[Download](https://downloads.wordpress.org/plugin/mostify.zip)

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

 [Support](https://wordpress.org/support/plugin/mostify/)

## Description

Mostify is a fast, no-bloat popular-posts plugin that turns your WordPress views
and comments into ranked lists you can drop anywhere via shortcode, widget, or Gutenberg
block.

It uses a pre-aggregated bucket schema (one row per post per time bucket) so ranking
queries stay snappy even on sites with millions of pageviews — no on-the-fly aggregation,
no JOIN fan-out, no slow `wp_postmeta` scans.

#### Highlights

 * **Page-views counter** — AJAX tracking with bot detection, per-visitor cookie
   deduplication, and a `mostify_should_track_view` filter for custom rules.
 * **Comments counter** — counts approved comments (auto-approved + admin-approved
   transitions).
 * **Time-period rankings** — `today`, `yesterday`, `past_24_hours`, `this_week`,`
   last_week`, `past_7_days`, `this_month`, `last_month`, `past_30_days`, `this_year`,`
   last_year`, `past_12_months`, `all_time`.
 * **Custom periods** — build any window via `custom_hours_N`, `custom_days_N`, `
   custom_months_N`.
 * **4 list styles** — simple, bars, cards, medal (top-3 medal emoji).
 * **10 color presets** — ocean, sunset, forest, berry, fire, midnight, coral, arctic,
   earth, neon — plus theme inheritance and custom CSS.
 * **Display surfaces** — shortcode `[mostify]`, classic widget, server-rendered
   Gutenberg block, post-editor meta box, auto-insert into the_content.
 * **Admin chart** — per-post hourly / daily / monthly histogram with period switcher.
 * **Performance** — 3-tier cache (request memo + object cache + transient), optional
   batch-write buffer for high-traffic sites.
 * **Capabilities** — role-based access via the `mostify_edit` and `mostify_view`
   capabilities.
 * **Privacy** — no third-party tracking. View tracking happens entirely on your
   own server.

### Privacy

Mostify stores anonymous, per-post view counts on your own database. No personal
data, no IP addresses, and no third-party services are involved. The view-tracking
AJAX endpoint sets a single first-party cookie (`mostify_v_<post_id>`, default 3-
hour TTL) used solely for deduplication; cookie name and TTL are filterable. The
plugin makes no outbound HTTP calls.

## Blocks

This plugin provides 1 block.

 *   Mostify Ranking

## Installation

 1. Upload the `mostify` folder to `/wp-content/plugins/`, **or** install directly 
    from the WordPress admin via _Plugins  Add New  Search “Mostify”_.
 2. Activate through the _Plugins_ screen.
 3. Visit _Settings  Mostify_ to configure tracking and view the shortcode builder.
 4. Drop the shortcode anywhere:
 5. [mostify counter=”views” limit=”10″ period=”this_week”]
 6. …or use _Appearance  Widgets_ to drop the **Mostify — Popular Posts** widget into
    a sidebar, or insert the **Mostify Ranking** block in the Gutenberg editor.

## FAQ

### Does the plugin call any external service?

No. View tracking, ranking queries, and chart rendering all happen on your own server.
The plugin makes no outbound HTTP calls.

### How are page views counted?

A small JavaScript snippet sends a one-shot AJAX request after the page loads. The
server checks a per-visitor cookie (3-hour window by default, filterable) and a 
User-Agent allowlist before incrementing the counter. Admins can be excluded via
_Settings  Mostify  Exclude admins from tracking_.

### Is bot traffic excluded?

Yes — there’s a built-in User-Agent allowlist covering the long tail of search-engine
crawlers, AI scrapers, social link-preview fetchers, and CLI/programmatic clients.
You can extend it with the `mostify_bot_patterns` filter.

### Can I customize the rendered HTML?

Yes. The renderer exposes `mostify_render_html`, `mostify_list_html`, and `mostify_list_item_html`
filters so themes can swap markup, inject columns, or override empty-state output.

### Does it work with caching plugins?

The view-tracking AJAX call happens after the page is delivered, so static-cached
HTML still triggers a fresh tracking call per visitor. Ranking queries use a 5-minute
transient + object-cache layer that any cache plugin can extend.

### How do I report a bug?

Use the _Support_ tab on the [Mostify plugin directory page](https://wordpress.org/plugins/mostify/).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Mostify” is open source software. The following people have contributed to this
plugin.

Contributors

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

[Translate “Mostify” into your language.](https://translate.wordpress.org/projects/wp-plugins/mostify)

### Interested in development?

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

## Changelog

#### 1.0.0

 * Initial release on the WordPress Plugin Directory.
 * Page-views counter with bot detection and per-visitor dedup cookie.
 * Comments counter (auto-approved + admin-approved transitions).
 * List rendering with 4 list styles and 10 color presets.
 * 13 built-in time-period presets plus a custom-period builder (`custom_hours_N`,`
   custom_days_N`, `custom_months_N`).
 * Shortcode, classic widget, Gutenberg block, post-editor meta box, and auto-insert
   display surfaces.
 * Per-post chart with hourly / daily / monthly granularity in the admin meta box.
 * Optional batch-write buffer for high-traffic sites.
 * Role-based access via the `mostify_edit` / `mostify_view` capabilities.

## Meta

 *  Version **1.0.0**
 *  Last updated **12 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [page views](https://wordpress.org/plugins/tags/page-views/)[popular widget](https://wordpress.org/plugins/tags/popular-widget/)
   [post views](https://wordpress.org/plugins/tags/post-views/)[trending posts](https://wordpress.org/plugins/tags/trending-posts/)
   [View Counter](https://wordpress.org/plugins/tags/view-counter/)
 *  [Advanced View](https://wordpress.org/plugins/mostify/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/mostify/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/mostify/)