Title: Taxonomy Terms Counter
Author: secretlab48
Published: <strong>22 فوریه 2026</strong>
Last modified: 21 آوریل 2026

---

جستجوی افزونه‌ها

![](https://ps.w.org/taxonomy-terms-counter/assets/banner-772x250.jpg?rev=3466769)

![](https://ps.w.org/taxonomy-terms-counter/assets/icon.svg?rev=3466769)

# Taxonomy Terms Counter

 توسط [secretlab48](https://profiles.wordpress.org/secretlab48/)

[دانلود](https://downloads.wordpress.org/plugin/taxonomy-terms-counter.2.0.0.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/taxonomy-terms-counter/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/taxonomy-terms-counter/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/taxonomy-terms-counter/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/taxonomy-terms-counter/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/taxonomy-terms-counter/)

## توضیحات

Taxonomy Terms Counter adds term counts to taxonomy panels in the editor sidebar
for both Gutenberg and Classic Editor.
 You can enable or disable counts per taxonomy
and post type from the plugin settings page.

### Source Code

Full source code is available on GitHub:
 https://github.com/secretlab48/taxonomy-
terms-counter

Notes:
 – The settings page lists taxonomies that are available in REST for the 
selected post type. – The plugin works on admin post screens for both Gutenberg 
and Classic Editor. – If an existing post type is missing on the settings page, 
it likely has `show_in_rest` set to `false`. – If a taxonomy is missing for a post
type, it likely has `show_in_rest` set to `false`.

### Hooks

The plugin provides the following hooks for customization:

#### PHP Filters

 * `ttcounter_term_count_taxonomies` — Filter taxonomies list for term counts. Args:`
   $taxonomies`, `$post_type`, `$request`.
 * `ttcounter_term_count_get_terms_args` — Filter `get_terms()` args. Args: `$args`,`
   $taxonomy`, `$post_type`.
 * `ttcounter_term_count_value` — Filter count value per term. Args: `$count`, `
   $term`, `$taxonomy`, `$post_type`.
 * `ttcounter_term_counts_response` — Filter REST response. Args: `$results`, `$
   post_type`, `$taxonomies`.
 * `ttcounter_sanitized_settings` — Filter sanitized settings before save. Args:`
   $sanitized_taxs`, `$request`.
 * `ttcounter_classic_hierarchical_label` — Filter classic editor hierarchical label
   text. Args: `$label`, `$term`, `$taxonomy`, `$post_type`, `$count`.
 * `ttcounter_classic_hierarchical_item_html` — Filter classic editor hierarchical
   item HTML. Args: `$item_output`, `$term`, `$taxonomy`, `$post_type`, `$count`.
 * `ttcounter_classic_flat_term_label` — Filter classic editor flat term label key.
   Args: `$label`, `$term`, `$taxonomy`, `$post_type`, `$count`.

#### PHP Actions

 * `ttcounter_settings_updated` — Fires after settings are saved. Args: `$sanitized_taxs`,`
   $request`.

#### JS Filters

 * `ttcounter.termCountTaxonomies` — Filter taxonomy list before REST request. Args:`
   taxonomies`, `postType`.
 * `ttcounter.termCountData` — Filter REST response data before rendering. Args:`
   data`, `postType`.
 * `ttcounter.restrictedPostTypes` — Filter restricted post types list in settings.
   Args: `restrictedPostTypes`.
 * `ttcounter.restrictedTaxonomies` — Filter restricted taxonomies list in settings.
   Args: `restrictedTaxonomies`.
 * `ttcounter.termCountLabel` — Filter sidebar label text. Args: `value`, `{ name,
   count, label }`.
 * `window.TTCounterClassicFilterLabel` — Filter classic editor flat checklist label
   text. Args: `{ taxonomy, name, count, label }`.

#### JS Actions

 * `ttcounter.sidebarUpdated` — Fires after sidebar counts update. Args: `termsByTax`.

## عکس‌های صفحه

 * [[
 * Settings page for enabling counts per taxonomy.
 * [[
 * Counts displayed in the Gutenberg taxonomy panel.

## نصب

 1. Upload the plugin to your `/wp-content/plugins/` directory.
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Go to “Taxonomy Counter” to configure which taxonomies show counts.

## سوالات متداول

### Does it work with custom taxonomies?

Yes, any taxonomy that is exposed to REST and enabled in settings.

### Does it work with custom post types?

Yes. Enable per taxonomy in the settings page.

### Does it work with the Classic Editor?

Yes. The plugin works with both Gutenberg and Classic Editor.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Taxonomy Terms Counter” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “Taxonomy Terms Counter” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/taxonomy-terms-counter)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/taxonomy-terms-counter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/taxonomy-terms-counter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/taxonomy-terms-counter/)
by [RSS](https://plugins.trac.wordpress.org/log/taxonomy-terms-counter/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 2.0.0

 * Added Classic Editor support for both hierarchical and non-hierarchical taxonomies.
 * Added Classic Editor hooks for hierarchical and flat taxonomies.
 * Added Gutenberg support for non-hierarchical taxonomies.

#### 1.0.0

 * Initial release.

## اطلاعات

 *  نگارش **2.0.0**
 *  Last updated **1 ماه پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 6.8 یا بالاتر **
 *  Tested up to **6.9.4**
 *  نگارش PHP ** 7.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/taxonomy-terms-counter/)
 * Tags
 * [count](https://fa.wordpress.org/plugins/tags/count/)[editor](https://fa.wordpress.org/plugins/tags/editor/)
   [taxonomy](https://fa.wordpress.org/plugins/tags/taxonomy/)[terms](https://fa.wordpress.org/plugins/tags/terms/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/taxonomy-terms-counter/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[Your review](https://wordpress.org/support/plugin/taxonomy-terms-counter/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/taxonomy-terms-counter/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/taxonomy-terms-counter/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.privat24.ua/send/iqtg5)