Title: Display Category Post Count
Author: amitk06
Published: <strong>2019 年 6 月 12 日</strong>
Last modified: 2021 年 2 月 6 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/display-category-post-count.svg)

# Display Category Post Count

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

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

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

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

## 描述

This plugin help you to display post count in category for wordpress post and woocommerce
product

## 安装

 1. Upload the entire ‘display-category-post-count’ folder to the ‘/wp-content/plugins/’
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Use the shortcode thats all.

## 常见问题

### What does this plugin do?

This plugins return total number of post/products added in any category of post /
woocommerce.

### How to use this plugin?

Once activated this plugin you need to add shortcode in editor to show count value.

You have to pass parameters in shortcode to get result for specific category & post
type.

**[get-post-count-wpcpc category=”your category name” post_type=”post/product/etc”]**

## 评价

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

### 󠀁[Wrong results and no support](https://wordpress.org/support/topic/wrong-results-and-no-support/)󠁿

 [eddypiv](https://profiles.wordpress.org/eddypiv/) 2023 年 3 月 11 日

Wrong results and no support. Useless.

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

### 󠀁[Cool – but i miss the daterange function](https://wordpress.org/support/topic/cool-but-i-miss-the-daterange-function/)󠁿

 [mediawork.ch](https://profiles.wordpress.org/mymediawork/) 2022 年 1 月 17 日

Very cool. It’s a simple plugin to count the posts also for custom types. but i 
miss the function to define a range (from/to) or count for the current year.

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

### 󠀁[Exactly What I Needed](https://wordpress.org/support/topic/exactly-what-i-needed-739/)󠁿

 [humanarttribe](https://profiles.wordpress.org/humanarttribe/) 2020 年 10 月 19
日

This little plugin saved the day for my team, which is using Avada’s blog element
to display paginated results. The element doesn’t respect configuration options 
that allow you to display total number of pages, making it look like there were 
only two. This shortcode gave us a great option for telling users how many user-
submitted posts we truly have, increasing our social proof. Thanks!!

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

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * Initial Release.

#### 1.1

 * Some bug fix of wp query.

## 额外信息

 *  版本 **1.1**
 *  最后更新：**5 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 4.4 或更高版本 **
 *  已测试的最高版本为 **5.6.17**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/display-category-post-count/)
 * 标签
 * [category](https://cn.wordpress.org/plugins/tags/category/)[display](https://cn.wordpress.org/plugins/tags/display/)
   [post](https://cn.wordpress.org/plugins/tags/post/)[WooCommerce category](https://cn.wordpress.org/plugins/tags/woocommerce-category/)
 *  [高级视图](https://cn.wordpress.org/plugins/display-category-post-count/advanced/)

## 评级

 3.7 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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