Title: Article Word Count
Author: pk2000
Published: <strong>2023 年 2 月 28 日</strong>
Last modified: 2025 年 2 月 16 日

---

搜索插件

![](https://ps.w.org/article-word-count-column/assets/banner-772x250.png?rev=2872513)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/article-word-count-column/assets/icon.svg?rev=2872512)

# Article Word Count

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

[下载](https://downloads.wordpress.org/plugin/article-word-count-column.1.4.1.zip)

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

 [支持](https://wordpress.org/support/plugin/article-word-count-column/)

## 描述

This plugin adds a custom column to the list of posts and pages in the WordPress
admin area, and displays the word count for each post and page in the column. It
also makes the column sortable, so you can easily sort the posts and pages by their
word count.

### New Feature

• If a “word_count” postmeta exists, sorting by “Word Count” uses it for precise
numeric ordering.
 • Otherwise, sorting uses an approximate calculation based on
spaces.

Adds the word count of each post to the post list in the admin area and makes the
column sortable.

### Images

banner-772×250.png
 banner-1544×500.png icon-128×128.png icon-256×256.png icon.svg

## 屏幕截图

 * [[

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. The plugin will automatically add a custom ‘Word Count’ column to the list of posts
    and pages in the WordPress admin area, and populate the column with the word count
    for each post and page.
 4. You can sort the posts and pages by their word count by clicking on the ‘Word Count’
    column header.

## 常见问题

### Can I customize the column header text?

Yes, you can customize the column header text by using the `__()` function and passing
your custom text as the argument. For example, if you want to change the column 
header text to ‘Article Length’, you can use the following code in your theme’s 
functions.php file or in a custom plugin:

add_filter(‘manage_posts_columns’, function($columns) {
 $columns[‘word_count’] 
= __(‘Article Length’); return $columns; });

## 评价

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

### 󠀁[works with divi for page word counts](https://wordpress.org/support/topic/works-with-divi-for-page-word-counts/)󠁿

 [Jamie](https://profiles.wordpress.org/scragglydoggames/) 2023 年 4 月 6 日

very happy with this, I was looking for an easy way to get a word count for all 
the pages (not posts) on my site, and various code snippets didn’t work with divi.
I installed this, activated and boom, there’s the word count so I can do it. Does
exactly what it says on the tin, good job!

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

### 󠀁[Works well](https://wordpress.org/support/topic/works-well-2735/)󠁿

 [Oliver @ WebMatros.com](https://profiles.wordpress.org/olivernielsen/) 2023 年
3 月 30 日

Hi Priit Thank you for this fine lil’ plugin! I had to the following lines of code(
at the end) to make the word count column sortable in the reusable blocks view: 
add_filter(‘manage_edit-wp_block_sortable_columns’, function($columns) { $columns[’
word_count’] = ‘word_count’; return $columns; }); Consider adding it to the plugin:)
Thanks again!Oliver

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

### 󠀁[Does one thing right](https://wordpress.org/support/topic/does-one-thing-right/)󠁿

 [pk2000](https://profiles.wordpress.org/pk2000/) 2023 年 2 月 28 日

Super light-weight plugin to add the word count to post and page list.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/article-word-count-column/reviews/)

## 贡献者及开发者

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

贡献者

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

[帮助将「Article Word Count」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/article-word-count-column)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.4.0

 * Added fallback sorting method if “word_count” postmeta is missing (approximate
   count via spaces).

#### 1.3.2

Initial release.

## 额外信息

 *  版本 **1.4.1**
 *  最后更新：**1 年前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 4.5 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/article-word-count-column/)
 * 标签
 * [pages](https://cn.wordpress.org/plugins/tags/pages/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
   [word count](https://cn.wordpress.org/plugins/tags/word-count/)
 *  [高级视图](https://cn.wordpress.org/plugins/article-word-count-column/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/article-word-count-column/reviews/#new-post)

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

## 贡献者

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

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

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

## 捐助

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

 [ 捐助此插件 ](https://www.dreamgrow.ee/)