Title: Count Shortcode
Author: Federal Communications Commission
Published: <strong>2011 年 7 月 13 日</strong>
Last modified: 2011 年 9 月 28 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Count Shortcode

 由 [Federal Communications Commission](https://profiles.wordpress.org/fcc/) 開發

[下載](https://downloads.wordpress.org/plugin/count-shortcode.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/count-shortcode/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/count-shortcode/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/count-shortcode/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/count-shortcode/#developers)

 [技術支援](https://wordpress.org/support/plugin/count-shortcode/)

## 外掛說明

Shortcode to count number of posts that match a given set of criteria; provides 
link to query to display list of matching posts.

Works with both built in post types (pages, posts) and taxonomies (tags, categories),
as well as custom post types and custom taxonomies.

**Example**

You have a car custom post type and would like a count of all the red cars in your
inventory, as well as a link to a listing of those cars.

Red Cars in Inventory: [count color=red]

Would return the number of cars, as well as a link to yoursite.com/?color=red (which
may rewrite depending on your permalink structure)

**Usage**

Insert a shortcode in your post in the form of [count {taxonomy}={value}]. You can
add as many or as fiew taxonomies as you would like.

You can also use the post_type argument to specify a post type (page, post, car,
etc.)

**List Usage**

You can count all terms within a taxonomy, e.g., [list-counts taxonomy=”tags”] or
across all taxonomies [list-counts].

## 安裝方式

 1. Install the plugin as you would any other plugin

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Count Shortcode〉的開發相關工作。

參與者

 *   [ Federal Communications Commission ](https://profiles.wordpress.org/fcc/)

[將〈Count Shortcode〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/count-shortcode)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/count-shortcode/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/count-shortcode/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/count-shortcode/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/count-shortcode/)。

## 變更記錄

#### 2.0

 * Added ability to display counts of all terms in a taxonomy, or across all taxonomies

#### 1.0

 * Initial Release

## 中繼資料

 *  版本 **2.0**
 *  最後更新 **15 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.2.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/count-shortcode/)
 * 標籤:
 * [counting](https://tw.wordpress.org/plugins/tags/counting/)[data](https://tw.wordpress.org/plugins/tags/data/)
   [queries](https://tw.wordpress.org/plugins/tags/queries/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
   [statistics](https://tw.wordpress.org/plugins/tags/statistics/)
 *  [進階檢視](https://tw.wordpress.org/plugins/count-shortcode/advanced/)

## 評分

 4 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/count-shortcode/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/count-shortcode/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/count-shortcode/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/count-shortcode/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/count-shortcode/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/count-shortcode/reviews/)

## 參與者

 *   [ Federal Communications Commission ](https://profiles.wordpress.org/fcc/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/count-shortcode/)