Linux 软件免费装

Netstan Count Lite

开发者 spacexgen
更新时间 2026年10月5日 18:02
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

statistics analytics popular posts post views view counter

下载

1.0.0

详情介绍:

Netstan Count Lite counts how many times each of your posts is viewed and shows you the numbers. Shortcode [netstan_count] shows the badge for the current post. [netstan_count id="123"] shows it for a specific post. For theme developers Call netstan_count_badge( $post_id ) (returns escaped HTML) to print the badge yourself. To load the counts for a whole list of posts in a single query first, call netstan_count_prefetch( $post_ids ). Declare add_theme_support( 'netstan-count' ) so the plugin doesn't also add its automatic badge, or use the netstan_count_theme_renders_badge filter.

安装:

  1. Upload the plugin to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate it. Views are counted from then on.
  3. Open Netstan Count in the admin menu to see your stats.

常见问题:

Does it work with my theme?

Yes. Counting and the dashboard don't depend on the theme, and the badge is added above single-post content automatically. You can turn that off under Netstan Count > Settings and use the shortcode instead.

Does it work with caching plugins?

Yes. Views are sent from the visitor's browser to a REST endpoint, so a cached page is counted like any other.

Are my visitors tracked?

No. Only a per-post, per-day view total is stored. A first-party cookie that expires after 30 minutes stops one visitor's reloads from inflating the count; it holds no personal information.

Will I lose my view history if I upgrade to Netstan Count?

No. Both editions use the same data table. Deactivate Netstan Count Lite before activating Netstan Count; the two can't be active together.

Who can see the dashboard?

Administrators (anyone who can manage the site's settings).

Does it work on multisite?

It isn't built for network-wide use and can't be network-activated. Activate it on each site individually from that site's Plugins screen; every site then keeps its own counts. It has not been tested on a multisite network.

Which versions of WordPress and PHP does it need?

WordPress 6.0 or newer and PHP 7.4 or newer.

更新日志:

1.0.0