Linux 软件免费装
Banner图

RW PostViewStats Lite

开发者 robert2021south
更新时间 2025年10月18日 10:17
捐献地址: 去捐款
PHP版本: 8.2 及以上
WordPress版本: 6.8
版权: GPLv3 or later
版权网址: 版权信息

标签

statistics analytics post views page views view counter

下载

1.0.2

详情介绍:

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

安装:

  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.

Screenshots

  1. Settings Page – Main configuration screen
  2. Admin Post List – Shows sortable "Views" column
  3. Data Management – Clean view data by date or post
  4. REST API Example – JSON response from views endpoint

Changelog

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

Upgrade Notice

1.0.2

Fix the problem of $_POST not being sanitized ```