{"id":112084,"date":"2019-11-06T23:30:07","date_gmt":"2019-11-06T23:30:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/custom-taxonomies-for-blocks\/"},"modified":"2019-11-06T23:30:07","modified_gmt":"2019-11-06T23:30:07","slug":"custom-taxonomies-for-blocks","status":"publish","type":"plugin","link":"https:\/\/frp.wordpress.org\/plugins\/custom-taxonomies-for-blocks\/","author":17642333,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"5.3.21","requires":"5.0","requires_php":"5.6","requires_plugins":"","header_name":"Custom Taxonomies for Blocks","header_author":"Tracy Rotton, Taupecat Studios","header_description":"Enables older custom taxonomies to be used with the WordPress block editor interface (a.k.a. Gutenberg).","assets_banners_color":"","last_updated":"2019-11-06 23:30:07","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/taupecatstudios.com\/wordpress-plugins\/custom-taxonomies-for-blocks\/","header_author_uri":"https:\/\/taupecatstudios.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1083,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[148857,4925,148076],"plugin_category":[57],"plugin_contributors":[83248,178286],"plugin_business_model":[],"class_list":["post-112084","plugin","type-plugin","status-publish","hentry","plugin_tags-block-editor","plugin_tags-custom-taxonomies","plugin_tags-gutenberg","plugin_category-taxonomy","plugin_contributors-taupecat","plugin_contributors-taupecatstudios","plugin_committers-taupecatstudios"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-taxonomies-for-blocks.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Custom taxonomies that were developed prior to the release of WordPress 5.0 (the Gutenberg release) may not be compatible with the WordPress block editor.<\/p>\n\n<p>Custom taxonomies require that the \"show_in_rest\" property be set to \"true\" in order to work with the block editor. \"show_in_rest\" was added with WordPress 4.7 and the integration of the WordPress JSON REST API. Sites using custom taxonomies that were created prior to this likely do not have this property set. Additionally, the default value for \"show_in_rest\" is <em>\"false\"<\/em> (this is poorly documented), ergo older custom taxonomies will not appear in the WordPress block editor interface.<\/p>\n\n<p>This plugin will take any custom taxonomy where the \"show_in_rest\" feature is set to \"false\" and change it to \"true\". It will <em>not<\/em> add any additional REST properties, such as \"rest_base\" or \"rest_controller_class\". If you need those properties set for any reason, you will need to update your custom taxonomy where it is being registered.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to the <code>\/wp-content\/plugins<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What does this plugin _do_, exactly?<\/dt>\n<dd><p>This plugin will go through <em>every<\/em> registered custom taxonomy (any taxonomy that isn't registered in <code>wp-includes\/taxonomy.php<\/code>) and change the \"show_in_rest\" property from false to true. Doing so will enable older custom taxonomies to be accessed in the WordPress block editor.<\/p><\/dd>\n<dt>Are there any settings for this plugin?<\/dt>\n<dd><p>Not at present, but a later version of this plugin will allow site administrators to choose which custom taxonomies they want to enable for the block editor interface.<\/p><\/dd>\n<dt>Does this plugin work with the Classic Editor plugin?<\/dt>\n<dd><p>Since the <a href=\"https:\/\/wordpress.org\/plugins\/classic-editor\/\">Classic Editor<\/a> plugin disables the WordPress block editor completely, there is no need for this plugin if Classic Editor is installed and activated.<\/p>\n\n<p>If Classic Editor is installed and activated, this plugin will not run.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial submission to the WordPress plugin repository. Sets <em>all<\/em> custom taxonomies where \"show_in_rest\" is false to true so that they are compatible with the WordPress 5.* block editor interface.<\/li>\n<\/ul>","raw_excerpt":"WordPress plugin to convert older custom taxonomies so they can be used in the WordPress blocks interface (a.k.a. Gutenberg).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/112084","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=112084"}],"author":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/taupecatstudios"}],"wp:attachment":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=112084"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=112084"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=112084"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=112084"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=112084"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=112084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}