Title: Taro Taxonomy Blocks
Author: Tarosky Inc.
Published: <strong>2021 年 9 月 28 日</strong>
Last modified: 2025 年 5 月 21 日

---

搜索插件

![](https://ps.w.org/taro-taxonomy-blocks/assets/banner-772x250.jpg?rev=3633780)

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

![](https://ps.w.org/taro-taxonomy-blocks/assets/icon.svg?rev=3633780)

# Taro Taxonomy Blocks

 作者：[Tarosky Inc.](https://profiles.wordpress.org/tarosky/)

[下载](https://downloads.wordpress.org/plugin/taro-taxonomy-blocks.1.2.2.zip)

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

 [支持](https://wordpress.org/support/plugin/taro-taxonomy-blocks/)

## 描述

This plugin supports 3 term blocks.

 1. **Terms Block** – Display all terms in the specified taxonomy. Usefull to display
    terms list like glossary.
 2. **Post’s Terms Block** – Display terms assigned to the post in the specified taxonomy.
 3. **Post’s Terms Query Block** – Display post list with same terms with the post.

#### Customization

All blocks are customizable on the PHP layer.

Template Structure

To override look and feel, put template files in your theme’s directory.

    ```
    your-theme-dir
    - template-parts
      - taxonomy-blocks
        - posts-list.php             // List of post in post's terms query blocks. 
        - post-loop.php              // Post link in post's terms query blocks. 
        - term-item.php              // Term link.
        - term-list.php              // Flat term list.
        - term-list-hierarchical.php // Hierarchical terms list.
    ```

    ```
    taro_taxonomy_blocks_template filter hook is also available.
    ```

This will override the template file path.

Styles

To override styles, regsiter styels named `taro-terms-block`.
 The plugin registers
style at priority 20 of `init` hook, so registering style at priority 10 or earlier.

    ```
    add_action( 'init', function() {
        // Your own CSS.
        wp_register_style( 'taro-terms-block', $your_block_css_url, $deps, $version );
    } );
    ```

Now your blocks will be styled by your CSS.

## 区块

该插件提供了 3 个区块.

 *   Terms
 *   Post Terms
 *   Post Terms Query

## 安装

#### From Plugin Repository

Click install and activate it.

#### From Github

See [releases](https://github.com/tarosky/taro-taxonomy-blocks/releases).

## 常见问题

### Where can I get supported?

Please create new ticket on support forum.

### How can I contribute?

Create a new [issue](https://github.com/tarosky/taro-taxonomy-blocks/issues) or 
send [pull requests](https://github.com/tarosky/taro-taxonomy-blocks/pulls).

## 评价

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

### 󠀁[Works like a dream](https://wordpress.org/support/topic/works-like-a-dream-73/)󠁿

 [Aleks Osinska](https://profiles.wordpress.org/alekscreative/) 2022 年 2 月 23 
日

Took me ages to find a plugin that creates a block to display custom taxonomies 
of a post. This one does exactly what I needed. Thank you!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/taro-taxonomy-blocks/reviews/)

## 贡献者及开发者

「Taro Taxonomy Blocks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Tarosky Inc. ](https://profiles.wordpress.org/tarosky/)
 *   [ Fumiki Takahashi ](https://profiles.wordpress.org/takahashi_fumiki/)
 *   [ Mark Walters ](https://profiles.wordpress.org/tswallie/)

「Taro Taxonomy Blocks」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/taro-taxonomy-blocks/contributors)
为本插件所做的贡献。

[帮助将「Taro Taxonomy Blocks」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/taro-taxonomy-blocks)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.2

 * Check compatibility to WordPress 6.8
 * Fix order bug in term posts block.

#### 1.2.1

 * Fix translations.

#### 1.2.0

 * Drop support under PHP 7.2
 * Add support for advanced class setting in the editor.

#### 1.1.2

 * Add filter for taxonomies list in selector.

#### 1.1.0

 * Post terms query block accepts manually input term list.

#### 1.0.0

 * First release.

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**1 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 5.9 或更高版本 **
 *  已测试的最高版本为 **6.8.12**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/taro-taxonomy-blocks/) 和 [Japanese](https://ja.wordpress.org/plugins/taro-taxonomy-blocks/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/taro-taxonomy-blocks)
 * 标签
 * [block-editor](https://cn.wordpress.org/plugins/tags/block-editor/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [iframe](https://cn.wordpress.org/plugins/tags/iframe/)
 *  [高级视图](https://cn.wordpress.org/plugins/taro-taxonomy-blocks/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

[查看全部评论](https://wordpress.org/support/plugin/taro-taxonomy-blocks/reviews/)

## 贡献者

 *   [ Tarosky Inc. ](https://profiles.wordpress.org/tarosky/)
 *   [ Fumiki Takahashi ](https://profiles.wordpress.org/takahashi_fumiki/)
 *   [ Mark Walters ](https://profiles.wordpress.org/tswallie/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/taro-taxonomy-blocks/)