Title: RW PostViewStats Lite
Author: RobertWP
Published: <strong>2025 年 10 月 18 日</strong>
Last modified: 2025 年 10 月 18 日

---

搜索插件

![](https://ps.w.org/rw-postviewstats-lite/assets/banner-772x250.png?rev=3380369)

![](https://ps.w.org/rw-postviewstats-lite/assets/icon-256x256.png?rev=3380369)

# RW PostViewStats Lite

 作者：[RobertWP](https://profiles.wordpress.org/robert2021south/)

[下载](https://downloads.wordpress.org/plugin/rw-postviewstats-lite.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/rw-postviewstats-lite/#description)
 * [评价](https://cn.wordpress.org/plugins/rw-postviewstats-lite/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/rw-postviewstats-lite/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/rw-postviewstats-lite/#developers)

 [支持](https://wordpress.org/support/plugin/rw-postviewstats-lite/)

## 描述

**RW PostViewStats Lite** provides accurate view tracking for posts, pages, and 
custom post types — designed for performance and privacy.

**🆓 Lite Version Features**:
 – 🔢 **AJAX View Counting** – Async requests for 
better performance – 🚫 **Duplicate Prevention** – 12-hour cookie-based protection–
📊 **Sortable Admin Columns** – Sort posts by views in admin list – 📁 **Data Cleaner**–
Remove view data by date or post – 🌐 **REST API Endpoint** – Fetch view counts 
via `/wp-json/rwpsl/v1/views/{post_id}` – 📌 **Shortcode Support** – Display views
with `[rwpsl_post_views]` – 🔒 **Privacy Friendly** – No IP addresses collected

**⭐ Pro Version Additional Features**:
 – 🌍 **Multisite Support** – Network-wide
tracking for WordPress Multisite – 📈 **Advanced Analytics** – Detailed views reports
and charts – 📁 **CSV Export** – Export stats by date range or specific posts – 
🔔 **Views Notifications** – Get notified when posts reach view milestones – 🎯 **
Custom Post Type Support** – Enhanced CPT tracking options – ⚡ **Performance Optimizations**–
Cached views and batch processing

**Documentation**:
 [Full Documentation](https://docs.robertwp.com/rw-postviewstats-pro/)–
Includes both free and pro version guides.

## 屏幕截图

 * [[
 * Settings Page – Main configuration screen
 * [[
 * Admin Post List – Shows sortable “Views” column
 * [[
 * Data Management – Clean view data by date or post
 * [[
 * REST API Example – JSON response from views endpoint
 * [[
 * [[

## 安装

 1. Upload the `rw-postviewstats-lite` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure settings in Settings  RW PostViewStats Lite (optional)

## 常见问题

### Can this plugin track views of custom post types?

Yes. By default, it tracks the **‘post’** and **‘page’** types. You can add support
for any custom post type using a filter hook in your theme or another plugin:
 `
php add_filter(‘rwpsl_supported_post_types’, function($types) { $types[] = ‘your_custom_post_type’;
return $types; });

### How are duplicate views prevented?

The plugin uses browser cookies to ignore repeat visits from the same user for 12
hours.

### What data does the plugin collect?

The plugin only stores post view counts in your WordPress database. It uses a cookie
to prevent duplicate counting but does not collect any personal information or IP
addresses.

### What are the system requirements?

Tested with:
 WordPress 6.6 to 6.8 PHP 8.2 to 8.4 MySQL 5.7 to 8.0

### How can I display view counts on my site?

You can use the shortcode [rwpsl_post_views] in posts/pages/widgets, or use the 
provided REST API endpoint.

### Does this plugin support WordPress Multisite?

Multisite support is available in the Pro version. The Lite version works on single
WordPress installations.

### How to add translations?

Copy /languages/rw-postviewstats-lite.pot and create your translation files. Submit
your .po file to help improve the plugin.

## 评价

此插件暂无评价。

## 贡献者及开发者

「RW PostViewStats Lite」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「RW PostViewStats Lite」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/rw-postviewstats-lite)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/rw-postviewstats-lite/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/rw-postviewstats-lite/)，或通过[RSS](https://plugins.trac.wordpress.org/log/rw-postviewstats-lite/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/rw-postviewstats-lite/)。

## 更新日志

#### 1.0.2

Fix the problem of $_POST not being sanitized

#### 1.0.1

Standard constant naming
 Fix REST API callback permissions Add protection code 
to HTML template

#### 1.0.0

Initial release with AJAX tracking
 Cookie-based duplicate prevention REST API integration
Shortcode for displaying views

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**7 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.6 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 8.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/rw-postviewstats-lite/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[page views](https://cn.wordpress.org/plugins/tags/page-views/)
   [post views](https://cn.wordpress.org/plugins/tags/post-views/)[statistics](https://cn.wordpress.org/plugins/tags/statistics/)
   [View Counter](https://cn.wordpress.org/plugins/tags/view-counter/)
 *  [高级视图](https://cn.wordpress.org/plugins/rw-postviewstats-lite/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/rw-postviewstats-lite/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/rw-postviewstats-lite/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://ko-fi.com/robertsouth)