Title: Shadow Terms
Author: Happy Prime
Published: <strong>2022 年 11 月 28 日</strong>
Last modified: 2026 年 2 月 10 日

---

搜索插件

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

![](https://ps.w.org/shadow-terms/assets/icon-256x256.jpg?rev=2966107)

# Shadow Terms

 作者：[Happy Prime](https://profiles.wordpress.org/happyprime/)

[下载](https://downloads.wordpress.org/plugin/shadow-terms.1.2.3.zip)

 * [详情](https://cn.wordpress.org/plugins/shadow-terms/#description)
 * [评价](https://cn.wordpress.org/plugins/shadow-terms/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/shadow-terms/#developers)

 [支持](https://wordpress.org/support/plugin/shadow-terms/)

## 描述

Shadow Terms registers custom (shadow) taxonomies for supported post types. These
taxonomies can be used to associate related content from a variety of post types.

When a new post of a supported post type is created, a term mirroring that post 
is also created. When editing another post type that supports this taxonomy, this
term can be assigned to associate the posts.

Shadow Terms does not register support for itself on any post types by default. 
Custom code must be added to a plugin or theme.

Support can be added to a custom post type with code like:

    ```
    <?php
    // Register the organization post type normally.
    register_post_type( 'organization', $args );

    // Add support for Shadow Terms to the organization post type.
    add_post_type_support(
        'organization',
        'shadow-terms',
        array(
            // Add post types that support the organization_connect taxonomy.
            'person',
            'press-release',
        )
    );
    ```

With the example above, whenever an `organization` is created, a term with the same
name will be created under the `organization_connect` taxonomy. When a person or
press release is edited, that term will be available for assignment through standard
WordPress taxonomy interfaces.

Code can then be written to query and display all people or press releases related
to an organization.

## 评价

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

### 󠀁[Great work](https://wordpress.org/support/topic/great-work-1156/)󠁿

 [shawfactor](https://profiles.wordpress.org/shawfactor/) 2025 年 6 月 24 日

These types of plugins are essential for working around the shortcomings of WordPress
and at the same time sticking to standards, thankyou all

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

## 贡献者及开发者

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

贡献者

 *   [ Happy Prime ](https://profiles.wordpress.org/happyprime/)
 *   [ Jeremy Felt ](https://profiles.wordpress.org/jeremyfelt/)
 *   [ slocker ](https://profiles.wordpress.org/slocker/)
 *   [ philcable ](https://profiles.wordpress.org/philcable/)
 *   [ webelaine ](https://profiles.wordpress.org/wpgirl369/)

[帮助将「Shadow Terms」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/shadow-terms)

### 对开发感兴趣吗?

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

## 更新日志

### 1.2.3

 * In a case where a published post is missing its associated shadow term, create
   one on post update.
 * Bail early on direct access to plugin files.
 * Confirm WordPress 6.9 support.
 * Update development dependencies.

### 1.2.2

 * No functional changes.
 * Bump phpstan to level 7.
 * Update development dependencies.
 * Confirm WordPress 6.8 support.

### 1.2.1

 * No functional changes.
 * Exclude phpstan config from distribution.
 * Update development dependencies.
 * Confirm WordPress 6.6 support.

### 1.2.0

 * Do not show “Add New” term option for shadow taxonomies, which are automatically
   managed. Thanks [@s3rgiosan](https://profiles.wordpress.org/s3rgiosan/)!
 * Do not show shadow terms in REST API to unauthenticated users if their original
   post type is not publicly available via REST endpoint.

### 1.1.0

 * Add filtering to shadow taxonomy taxonomy arguments.
 * Update development tooling.

### 1.0.1

 * Fix: Ensure term and post slugs sync properly on post update.

### 1.0.0

Initial release.

## 额外信息

 *  版本 **1.2.3**
 *  最后更新：**4 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.9 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/shadow-terms/)
 * 标签
 * [content](https://cn.wordpress.org/plugins/tags/content/)[related](https://cn.wordpress.org/plugins/tags/related/)
   [terms](https://cn.wordpress.org/plugins/tags/terms/)
 *  [高级视图](https://cn.wordpress.org/plugins/shadow-terms/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Happy Prime ](https://profiles.wordpress.org/happyprime/)
 *   [ Jeremy Felt ](https://profiles.wordpress.org/jeremyfelt/)
 *   [ slocker ](https://profiles.wordpress.org/slocker/)
 *   [ philcable ](https://profiles.wordpress.org/philcable/)
 *   [ webelaine ](https://profiles.wordpress.org/wpgirl369/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/shadow-terms/)