{"id":128790,"date":"2020-09-18T02:13:33","date_gmt":"2020-09-18T02:13:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/terms-block\/"},"modified":"2023-09-06T02:26:22","modified_gmt":"2023-09-06T02:26:22","slug":"terms-block","status":"publish","type":"plugin","link":"https:\/\/srd.wordpress.org\/plugins\/terms-block\/","author":6734486,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.0","stable_tag":"2.1.0","tested":"6.3.8","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Terms Block","header_author":"HAMWORKS","header_description":"Term list block. Displays a list of all terms in the selected taxonomy.","assets_banners_color":"","last_updated":"2023-09-06 02:26:22","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/torounit","header_plugin_uri":"https:\/\/github.com\/team-hamworks\/terms-block","header_author_uri":"https:\/\/ham.works","rating":4.8,"author_block_rating":0,"active_installs":40,"downloads":4686,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":2,"sections":["description","changelog"],"tags":{"0.0.6":{"tag":"0.0.6","author":"hamworks","date":"2020-09-18 02:13:14"},"0.1.0":{"tag":"0.1.0","author":"hamworks","date":"2020-09-18 06:20:04"},"0.1.1":{"tag":"0.1.1","author":"hamworks","date":"2020-09-18 10:14:19"},"0.1.2":{"tag":"0.1.2","author":"hamworks","date":"2020-12-01 03:17:53"},"0.2.0":{"tag":"0.2.0","author":"hamworks","date":"2020-12-16 09:40:46"},"1.0.0":{"tag":"1.0.0","author":"hamworks","date":"2021-08-20 06:27:52"},"2.0.0":{"tag":"2.0.0","author":"hamworks","date":"2022-09-26 13:05:15"},"2.0.1":{"tag":"2.0.1","author":"hamworks","date":"2022-09-26 16:28:02"},"2.0.2":{"tag":"2.0.2","author":"hamworks","date":"2022-11-11 09:47:56"},"2.0.3":{"tag":"2.0.3","author":"hamworks","date":"2022-11-11 12:17:48"},"2.1.0":{"tag":"2.1.0","author":"hamworks","date":"2023-09-06 02:26:22"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":1,"5":3},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"terms-block\/terms":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","name":"terms-block\/terms","title":"Terms","apiVersion":3,"icon":"tag","description":"Displays a list of all terms in the selected taxonomy.","textdomain":"terms-block","attributes":{"className":{"type":"string","default":""},"taxonomy":{"type":"string","default":"category"}},"category":"widgets","editorScript":"file:.\/index.js"},"terms-block\/assigned-terms":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","name":"terms-block\/assigned-terms","title":"Assigned Terms","apiVersion":3,"icon":"tag","description":"Displays a list of assigned terms in the selected taxonomy.","textdomain":"terms-block","attributes":{"className":{"type":"string","default":""},"taxonomy":{"type":"string","default":"category"}},"category":"widgets","editorScript":"file:.\/index.js"},"terms-block\/terms-block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","name":"terms-block\/terms-block","title":"Terms (Deprecated)","apiVersion":3,"icon":"tag","description":"Displays a list of all terms in the selected taxonomy. (Deprecated)","textdomain":"terms-block","attributes":{"className":{"type":"string","default":""},"taxonomy":{"type":"string","default":"category"}},"supports":{"inserter":false},"editorScript":"file:.\/index.js"}},"tagged_versions":["0.0.6","0.1.0","0.1.1","0.1.2","0.2.0","1.0.0","2.0.0","2.0.1","2.0.2","2.0.3","2.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,148076,5058],"plugin_category":[57],"plugin_contributors":[190978,84394,78190],"plugin_business_model":[],"class_list":["post-128790","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-gutenberg","plugin_tags-term","plugin_category-taxonomy","plugin_contributors-hamworks","plugin_contributors-mel_cha","plugin_contributors-toro_unit","plugin_committers-hamworks","plugin_committers-toro_unit"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/terms-block.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Term list block. Displays a list of all terms in the selected taxonomy.<\/p>\n\n<p>You can change the display by placing a template file in your theme.<\/p>\n\n<ol>\n<li>template-parts\/blocks\/terms-block\/<code>block-name<\/code>-<code>block-style<\/code>.php<\/li>\n<li>template-parts\/blocks\/terms-block\/<code>block-name<\/code>.php<\/li>\n<\/ol>\n\n<p>Filter for <code>get_terms<\/code>.<\/p>\n\n<pre>add_filter( 'terms_block_get_terms_arguments', 'my_filter', 10, 3 );\nfunction my_filter( $args, $taxonomy, $attributes ) {\n    $args = array_merge( $args, array( 'orderby' =&gt; 'order' ) );\n\n    return $args;\n}<\/pre>\n\n<!--section=changelog-->\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>support WordPress 6.3.<\/li>\n<li>fix for deprecated parameters in get_terms.<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>use get_block_wrapper_attributes<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>use @wordpress\/server-side-render<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>add assigned terms block<\/li>\n<li>rename terms-block to terms<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Tested on WordPress 5.8.<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Add <code>terms_block_get_terms_arguments<\/code> filter.<\/li>\n<li>Tested on WordPress 5.6.<\/li>\n<\/ul>\n\n<h4>0.0.5<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>\n\n<h4>0.0.1<\/h4>\n\n<ul>\n<li>Internal release.<\/li>\n<\/ul>","raw_excerpt":"Term list block. Displays a list of all terms in the selected taxonomy.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/128790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=128790"}],"author":[{"embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/toro_unit"}],"wp:attachment":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=128790"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=128790"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=128790"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=128790"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=128790"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=128790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}