Title: Post Count Tracker
Author: Amir Nafees
Published: <strong>2024 年 8 月 28 日</strong>
Last modified: 2026 年 10 月 28 日

---

搜索插件

![](https://ps.w.org/post-count-tracker/assets/banner-772x250.png?rev=3143166)

![](https://ps.w.org/post-count-tracker/assets/icon-256x256.png?rev=3143166)

# Post Count Tracker

 作者：[Amir Nafees](https://profiles.wordpress.org/amirnafees88/)

[下载](https://downloads.wordpress.org/plugin/post-count-tracker.1.2.0.zip)

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

 [支持](https://wordpress.org/support/plugin/post-count-tracker/)

## 描述

Post Count Tracker counts how many times each post is viewed and shows the count
at the end of the post content. It helps admins and readers see which posts are 
getting attention, without changing your site’s design.

**Features**

 * Automatic view counting on single posts.
 * View count shown at the end of each post, or placed anywhere with the `[pct_post_count]`
   shortcode.
 * “Views” column on the Posts screen in the admin.
 * Custom label text and custom icon from the settings page.
 * Works with Elementor: add the shortcode to the Shortcode widget in your single
   post template.
 * Lightweight: no extra JavaScript on the front end and admin assets load only 
   on the plugin’s settings page.

## 屏幕截图

[⌊View count shown at the end of a post.⌉⌊View count shown at the end of a post.⌉[

View count shown at the end of a post.

[⌊Views column on the Posts screen.⌉⌊Views column on the Posts screen.⌉[

Views column on the Posts screen.

[⌊Plugin settings page.⌉⌊Plugin settings page.⌉[

Plugin settings page.

## 安装

 1. Upload the `post-count-tracker` folder to the `/wp-content/plugins/` directory,
    or install it from Plugins > Add New.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to **Post Count Tracker** in the admin menu to change the text, icon, or switch
    to shortcode mode.

## 常见问题

### Can I change the view count text and image?

Yes. Go to WordPress admin > Post Count Tracker and set your own text and image.

### How do I use the shortcode?

Enable “Use shortcode” on the settings page, then place `[pct_post_count]` in the
Elementor Shortcode widget or the WordPress editor. To show the views of a specific
post, use `[pct_post_count id="123"]`. In a PHP template, use `echo do_shortcode('[
pct_post_count]' );`.

### Is it compatible with Elementor?

Yes. Enable shortcode mode and add the shortcode to your single post template.

### Are my own views and post previews counted?

Every front-end view of a single post is counted. Post previews are not counted.

### What happens to my data if I delete the plugin?

Deleting the plugin from the Plugins screen removes its settings and all stored 
view counts. Deactivating the plugin keeps your data.

## 评价

![](https://secure.gravatar.com/avatar/d0d0c18fd3df2c422f0b5270c66ce977e4fd77e9500ceb1de8ce5039add0b1cb?
s=60&d=retro&r=g)

### 󠀁[Easy to use and Efficient](https://wordpress.org/support/topic/easy-to-use-and-efficient-28/)󠁿

 [AJ](https://profiles.wordpress.org/khawajaa/) 2025 年 1 月 6 日

I find this plugin extremely useful in tracking post activity

![](https://secure.gravatar.com/avatar/500599697b106c6246c2a8c172033df9db3c6465df37a5b037a359220ee9215c?
s=60&d=retro&r=g)

### 󠀁[Great Plugin for Monitoring Post Activity](https://wordpress.org/support/topic/great-plugin-for-monitoring-post-activity/)󠁿

 [Techholds](https://profiles.wordpress.org/techholds89/) 2024 年 9 月 22 日 1 回复

Post Count Tracker provides a quick and easy way to track post counts on my WordPress
site. Easy to setup and use.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/post-count-tracker/reviews/)

## 贡献者及开发者

「Post Count Tracker」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Amir Nafees ](https://profiles.wordpress.org/amirnafees88/)

[帮助将「Post Count Tracker」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/post-count-tracker)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.0

 * Tested up to WordPress 7.1.4.
 * Now requires PHP 8.0 or higher and WordPress 5.6 or higher.
 * Fixed: the first view of a post is now counted (it previously showed 0).
 * Fixed: the view count no longer appears inside widgets or secondary loops on 
   single posts.
 * Fixed: post previews are no longer counted as views.
 * Added: settings are now sanitized, and a “Settings saved” message is shown.
 * Added: `[pct_post_count id="123"]` support documented on the settings page.
 * Added: plugin data is removed when the plugin is deleted.
 * Improved: admin scripts and the media library load only on the plugin settings
   page.
 * Improved: removed the empty front-end JavaScript file request.
 * Improved: all admin text is translatable; numbers are formatted for the site 
   language.

#### 1.1.0

 * Added settings page to control the shortcode, count view text and image.

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**2 周前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **7.1.4**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/post-count-tracker/)
 * 标签
 * [elementor](https://cn.wordpress.org/plugins/tags/elementor/)[post count](https://cn.wordpress.org/plugins/tags/post-count/)
   [post views](https://cn.wordpress.org/plugins/tags/post-views/)[stats](https://cn.wordpress.org/plugins/tags/stats/)
   [Views Counter](https://cn.wordpress.org/plugins/tags/views-counter/)
 *  [高级视图](https://cn.wordpress.org/plugins/post-count-tracker/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/post-count-tracker/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/post-count-tracker/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/post-count-tracker/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/post-count-tracker/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/post-count-tracker/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/post-count-tracker/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/post-count-tracker/reviews/)

## 贡献者

 *   [ Amir Nafees ](https://profiles.wordpress.org/amirnafees88/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/post-count-tracker/)