{"id":166215,"date":"2022-11-28T23:46:34","date_gmt":"2022-11-28T23:46:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/shadow-terms\/"},"modified":"2026-02-10T19:49:25","modified_gmt":"2026-02-10T19:49:25","slug":"shadow-terms","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/shadow-terms\/","author":15605205,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.3","stable_tag":"1.2.3","tested":"6.9.4","requires":"5.9","requires_php":"7.4","requires_plugins":null,"header_name":"Shadow Terms","header_author":"Happy Prime","header_description":"Use terms from generated taxonomies to associate related content.","assets_banners_color":"519dbb","last_updated":"2026-02-10 19:49:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/happyprime\/shadow-terms\/","header_author_uri":"https:\/\/happyprime.co","rating":5,"author_block_rating":0,"active_installs":10,"downloads":3689,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"happyprime","date":"2023-03-29 21:13:51"},"1.0.1":{"tag":"1.0.1","author":"happyprime","date":"2023-05-18 19:41:58"},"1.1.0":{"tag":"1.1.0","author":"happyprime","date":"2023-09-12 22:53:54"},"1.2.0":{"tag":"1.2.0","author":"happyprime","date":"2024-07-19 17:41:07"},"1.2.1":{"tag":"1.2.1","author":"happyprime","date":"2024-11-06 05:39:52"},"1.2.2":{"tag":"1.2.2","author":"happyprime","date":"2025-06-13 14:26:37"},"1.2.3":{"tag":"1.2.3","author":"happyprime","date":"2026-02-10 19:49:25"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2966107,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2966107,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2966107,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2966107,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[529,2663,1901],"plugin_category":[57],"plugin_contributors":[208741,80671,209288,209287,228589],"plugin_business_model":[],"class_list":["post-166215","plugin","type-plugin","status-publish","hentry","plugin_tags-content","plugin_tags-related","plugin_tags-terms","plugin_category-taxonomy","plugin_contributors-happyprime","plugin_contributors-jeremyfelt","plugin_contributors-philcable","plugin_contributors-slocker","plugin_contributors-wpgirl369","plugin_committers-happyprime","plugin_committers-jeremyfelt"],"banners":{"banner":"https:\/\/ps.w.org\/shadow-terms\/assets\/banner-772x250.jpg?rev=2966107","banner_2x":"https:\/\/ps.w.org\/shadow-terms\/assets\/banner-1544x500.jpg?rev=2966107","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/shadow-terms\/assets\/icon-128x128.jpg?rev=2966107","icon_2x":"https:\/\/ps.w.org\/shadow-terms\/assets\/icon-256x256.jpg?rev=2966107","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<p>Shadow Terms does not register support for itself on any post types by default. Custom code must be added to a plugin or theme.<\/p>\n\n<p>Support can be added to a custom post type with code like:<\/p>\n\n<pre><code>&lt;?php\n\/\/ Register the organization post type normally.\nregister_post_type( 'organization', $args );\n\n\/\/ Add support for Shadow Terms to the organization post type.\nadd_post_type_support(\n    'organization',\n    'shadow-terms',\n    array(\n        \/\/ Add post types that support the organization_connect taxonomy.\n        'person',\n        'press-release',\n    )\n);\n<\/code><\/pre>\n\n<p>With the example above, whenever an <code>organization<\/code> is created, a term with the same name will be created under the <code>organization_connect<\/code> taxonomy. When a person or press release is edited, that term will be available for assignment through standard WordPress taxonomy interfaces.<\/p>\n\n<p>Code can then be written to query and display all people or press releases related to an organization.<\/p>\n\n<!--section=changelog-->\n<h3>1.2.3<\/h3>\n\n<ul>\n<li>In a case where a published post is missing its associated shadow term, create one on post update.<\/li>\n<li>Bail early on direct access to plugin files.<\/li>\n<li>Confirm WordPress 6.9 support.<\/li>\n<li>Update development dependencies.<\/li>\n<\/ul>\n\n<h3>1.2.2<\/h3>\n\n<ul>\n<li>No functional changes.<\/li>\n<li>Bump phpstan to level 7.<\/li>\n<li>Update development dependencies.<\/li>\n<li>Confirm WordPress 6.8 support.<\/li>\n<\/ul>\n\n<h3>1.2.1<\/h3>\n\n<ul>\n<li>No functional changes.<\/li>\n<li>Exclude phpstan config from distribution.<\/li>\n<li>Update development dependencies.<\/li>\n<li>Confirm WordPress 6.6 support.<\/li>\n<\/ul>\n\n<h3>1.2.0<\/h3>\n\n<ul>\n<li>Do not show \"Add New\" term option for shadow taxonomies, which are automatically managed. Thanks <a href=\"https:\/\/profiles.wordpress.org\/s3rgiosan\/\">@s3rgiosan<\/a>!<\/li>\n<li>Do not show shadow terms in REST API to unauthenticated users if their original post type is not publicly available via REST endpoint.<\/li>\n<\/ul>\n\n<h3>1.1.0<\/h3>\n\n<ul>\n<li>Add filtering to shadow taxonomy taxonomy arguments.<\/li>\n<li>Update development tooling.<\/li>\n<\/ul>\n\n<h3>1.0.1<\/h3>\n\n<ul>\n<li>Fix: Ensure term and post slugs sync properly on post update.<\/li>\n<\/ul>\n\n<h3>1.0.0<\/h3>\n\n<p>Initial release.<\/p>","raw_excerpt":"Use terms from generated taxonomies to associate related content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/166215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=166215"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/happyprime"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=166215"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=166215"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=166215"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=166215"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=166215"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=166215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}