{"id":121159,"date":"2020-05-07T05:39:42","date_gmt":"2020-05-07T05:39:42","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/custom-post-type-widget-blocks\/"},"modified":"2024-09-26T07:07:09","modified_gmt":"2024-09-26T07:07:09","slug":"custom-post-type-widget-blocks","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/custom-post-type-widget-blocks\/","author":8903959,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.7.0","stable_tag":"1.7.0","tested":"6.6.5","requires":"6.2.0","requires_php":"7.1","requires_plugins":null,"header_name":"Custom Post Type Widget Blocks","header_author":"thingsym","header_description":"Custom Post Type Widgets for the Block Editor (Gutenberg).","assets_banners_color":"","last_updated":"2024-09-26 07:07:09","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/sponsors\/thingsym","header_plugin_uri":"https:\/\/github.com\/thingsym\/custom-post-type-widget-blocks","header_author_uri":"https:\/\/www.thingslabo.com\/","rating":0,"author_block_rating":0,"active_installs":100,"downloads":5522,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"thingsym","date":"2020-05-07 05:41:02"},"1.1.0":{"tag":"1.1.0","author":"thingsym","date":"2020-08-18 09:04:55"},"1.1.1":{"tag":"1.1.1","author":"thingsym","date":"2020-09-15 07:35:17"},"1.2.0":{"tag":"1.2.0","author":"thingsym","date":"2020-11-24 08:01:31"},"1.2.1":{"tag":"1.2.1","author":"thingsym","date":"2021-03-17 08:30:27"},"1.2.2":{"tag":"1.2.2","author":"thingsym","date":"2021-07-12 06:45:55"},"1.3.0":{"tag":"1.3.0","author":"thingsym","date":"2022-02-04 10:45:47"},"1.3.1":{"tag":"1.3.1","author":"thingsym","date":"2022-02-09 08:32:48"},"1.4.0":{"tag":"1.4.0","author":"thingsym","date":"2022-06-13 09:41:30"},"1.5.0":{"tag":"1.5.0","author":"thingsym","date":"2022-08-24 07:47:46"},"1.5.1":{"tag":"1.5.1","author":"thingsym","date":"2022-10-19 09:13:44"},"1.6.0":{"tag":"1.6.0","author":"thingsym","date":"2023-02-01 10:37:35"},"1.6.1":{"tag":"1.6.1","author":"thingsym","date":"2023-04-21 09:13:15"},"1.6.2":{"tag":"1.6.2","author":"thingsym","date":"2023-11-28 08:04:05"},"1.6.3":{"tag":"1.6.3","author":"thingsym","date":"2024-08-30 07:35:49"},"1.7.0":{"tag":"1.7.0","author":"thingsym","date":"2024-09-26 07:07:09"}},"upgrade_notice":{"1.7.0":"<ul>\n<li>Requires at least version 6.2.0 of the WordPress<\/li>\n<\/ul>","1.3.0":"<ul>\n<li>Requires at least version 5.8.0 of the WordPress<\/li>\n<\/ul>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"custom-post-type-widget-blocks\/calendar":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"custom-post-type-widget-blocks\/calendar","title":"Calendar (Custom Post Type)","category":"custom-post-type-widget-blocks","description":"A calendar of your site\u2019s posts.","keywords":["posts","archive"],"textdomain":"custom-post-type-widget-blocks","attributes":{"postType":{"type":"string","default":"post"},"month":{"type":"integer"},"year":{"type":"integer"}},"supports":{"align":["wide","full"],"color":{"link":true,"__experimentalSkipSerialization":["text","background"],"__experimentalDefaultControls":{"background":true,"text":true},"__experimentalSelector":"table, th"},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"interactivity":{"clientNavigation":true}},"editorScript":"custom-post-type-widget-blocks-editor-script","editorStyle":"custom-post-type-widget-blocks-editor-style","style":"custom-post-type-widget-blocks-style"},"custom-post-type-widget-blocks\/latest-comments":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"custom-post-type-widget-blocks\/latest-comments","title":"Latest Comments (Custom Post Type)","category":"custom-post-type-widget-blocks","description":"Display a list of your most recent comments.","keywords":["recent comments"],"textdomain":"custom-post-type-widget-blocks","attributes":{"postType":{"type":"string","default":"any"},"commentsToShow":{"type":"number","default":5,"minimum":1,"maximum":100},"displayAvatar":{"type":"boolean","default":true},"displayDate":{"type":"boolean","default":true},"displayExcerpt":{"type":"boolean","default":true}},"supports":{"align":["wide","full"],"html":false,"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true,"link":true}},"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"interactivity":{"clientNavigation":true}},"editorScript":"custom-post-type-widget-blocks-editor-script","editorStyle":"custom-post-type-widget-blocks-editor-style","style":"custom-post-type-widget-blocks-style"},"custom-post-type-widget-blocks\/tag-cloud":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"custom-post-type-widget-blocks\/tag-cloud","title":"Tag Cloud (Custom Post Type)","category":"custom-post-type-widget-blocks","description":"A cloud of your most used tags.","keywords":[],"version":"1.3.0","textdomain":"custom-post-type-widget-blocks","attributes":{"numberOfTags":{"type":"number","default":45,"minimum":1,"maximum":100},"taxonomy":{"type":"string","default":"post_tag"},"showTagCounts":{"type":"boolean","default":false},"smallestFontSize":{"type":"string","default":"8pt"},"largestFontSize":{"type":"string","default":"22pt"}},"styles":[{"name":"default","label":"Default","isDefault":true},{"name":"outline","label":"Outline"},{"name":"hash-tag","label":"Hash tag"}],"supports":{"align":["wide","full"],"html":false,"spacing":{"margin":true,"padding":true},"typography":{"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalLetterSpacing":true},"interactivity":{"clientNavigation":true},"__experimentalBorder":{"radius":true,"color":true,"width":true,"style":true,"__experimentalDefaultControls":{"radius":true,"color":true,"width":true,"style":true}}},"editorScript":"custom-post-type-widget-blocks-editor-script","editorStyle":"custom-post-type-widget-blocks-editor-style","style":"custom-post-type-widget-blocks-style"},"custom-post-type-widget-blocks\/categories":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"custom-post-type-widget-blocks\/categories","title":"Categories (Custom Post Type)","category":"custom-post-type-widget-blocks","description":"Display a list of all categories.","keywords":[],"textdomain":"custom-post-type-widget-blocks","attributes":{"taxonomy":{"type":"string","default":"category"},"displayAsDropdown":{"type":"boolean","default":false},"showHierarchy":{"type":"boolean","default":false},"showPostCounts":{"type":"boolean","default":false},"showOnlyTopLevel":{"type":"boolean","default":false},"showEmpty":{"type":"boolean","default":false}},"supports":{"align":["wide","full"],"html":false,"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"interactivity":{"clientNavigation":true},"__experimentalBorder":{"radius":true,"color":true,"width":true,"style":true,"__experimentalDefaultControls":{"radius":true,"color":true,"width":true,"style":true}}},"editorScript":"custom-post-type-widget-blocks-editor-script","editorStyle":"custom-post-type-widget-blocks-editor-style","style":"custom-post-type-widget-blocks-style"},"custom-post-type-widget-blocks\/search":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"custom-post-type-widget-blocks\/search","title":"Search (Custom Post Type)","category":"custom-post-type-widget-blocks","description":"Help visitors find your content.","keywords":["find"],"textdomain":"custom-post-type-widget-blocks","attributes":{"postType":{"type":"string","default":"any"},"label":{"type":"string","__experimentalRole":"content"},"showLabel":{"type":"boolean","default":true},"placeholder":{"type":"string","default":"","__experimentalRole":"content"},"width":{"type":"number"},"widthUnit":{"type":"string"},"buttonText":{"type":"string","__experimentalRole":"content"},"buttonPosition":{"type":"string","default":"button-outside"},"buttonUseIcon":{"type":"boolean","default":false},"query":{"type":"object","default":{}},"isSearchFieldHidden":{"type":"boolean","default":false}},"supports":{"align":["left","center","right"],"color":{"gradients":true,"__experimentalSkipSerialization":true,"__experimentalDefaultControls":{"background":true,"text":true}},"interactivity":true,"typography":{"__experimentalSkipSerialization":true,"__experimentalSelector":".wp-block-search__label, .wp-block-search__input, .wp-block-search__button","fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"__experimentalBorder":{"color":true,"radius":true,"width":true,"__experimentalSkipSerialization":true,"__experimentalDefaultControls":{"color":true,"radius":true,"width":true}},"spacing":{"margin":true},"html":false},"editorScript":"custom-post-type-widget-blocks-editor-script","editorStyle":"custom-post-type-widget-blocks-editor-style","style":"custom-post-type-widget-blocks-style"},"custom-post-type-widget-blocks\/archives":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"custom-post-type-widget-blocks\/archives","title":"Archives (Custom Post Type)","category":"custom-post-type-widget-blocks","description":"Display a monthly archive of your posts.","keywords":[],"textdomain":"custom-post-type-widget-blocks","attributes":{"postType":{"type":"string","default":"post"},"displayAsDropdown":{"type":"boolean","default":false},"showPostCounts":{"type":"boolean","default":false},"archiveType":{"type":"string","enum":["yearly","monthly","weekly","daily"],"default":"monthly"},"order":{"type":"string","enum":["DESC","ASC"],"default":"DESC"}},"supports":{"align":["wide","full"],"html":false,"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"interactivity":{"clientNavigation":true}},"editorScript":"custom-post-type-widget-blocks-editor-script","editorStyle":"custom-post-type-widget-blocks-editor-style","style":"custom-post-type-widget-blocks-style"},"custom-post-type-widget-blocks\/latest-posts":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"custom-post-type-widget-blocks\/latest-posts","title":"Latest Posts (Custom Post Type)","category":"custom-post-type-widget-blocks","description":"Display a list of your most recent posts.","keywords":["recent posts"],"textdomain":"custom-post-type-widget-blocks","attributes":{"postType":{"type":"string","default":"post"},"taxonomy":{"type":"string","default":"category"},"categories":{"type":"array","items":{"type":"object"}},"selectedAuthor":{"type":"number"},"postsToShow":{"type":"number","default":5},"displayPostContent":{"type":"boolean","default":false},"displayPostContentRadio":{"type":"string","default":"excerpt"},"excerptLength":{"type":"number","default":55},"displayAuthor":{"type":"boolean","default":false},"displayPostDate":{"type":"boolean","default":false},"postLayout":{"type":"string","default":"list","enum":["list","grid"]},"columns":{"type":"number","default":3},"order":{"type":"string","default":"desc"},"orderBy":{"type":"string","default":"date"},"displayFeaturedImage":{"type":"boolean","default":false},"featuredImageAlign":{"type":"string","enum":["left","center","right"]},"featuredImageSizeSlug":{"type":"string","default":"thumbnail"},"featuredImageSizeWidth":{"type":"number","default":null},"featuredImageSizeHeight":{"type":"number","default":null},"addLinkToFeaturedImage":{"type":"boolean","default":false},"featuredImageId":{"type":"number"}},"supports":{"align":["wide","full"],"html":false,"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true,"link":true}},"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"interactivity":{"clientNavigation":true}},"editorScript":"custom-post-type-widget-blocks-editor-script","editorStyle":"custom-post-type-widget-blocks-editor-style","style":"custom-post-type-widget-blocks-style"}},"tagged_versions":["1.0.1","1.1.0","1.1.1","1.2.0","1.2.1","1.2.2","1.3.0","1.3.1","1.4.0","1.5.0","1.5.1","1.6.0","1.6.1","1.6.2","1.6.3","1.7.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3157966,"resolution":"1","location":"plugin","width":384,"height":448}},"screenshots":{"1":"Block category 'Custom Post Type Widget Blocks'"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,148857,148076,162,241],"plugin_category":[43],"plugin_contributors":[78488],"plugin_business_model":[],"class_list":["post-121159","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-block-editor","plugin_tags-gutenberg","plugin_tags-widget","plugin_tags-widgets","plugin_category-customization","plugin_contributors-thingsym","plugin_committers-thingsym"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-post-type-widget-blocks.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-post-type-widget-blocks\/trunk\/screenshot-1.png?rev=3157966","caption":"Block category 'Custom Post Type Widget Blocks'"}],"raw_content":"<!--section=description-->\n<p>Custom Post Type Widgets for the Block Editor (Gutenberg).\nThis WordPress plugin adds default Custom Post Type Widgets to the Block Editor.<\/p>\n\n<p>You can filter by registered Custom Post Type or Taxonomy on the Block Editor.<\/p>\n\n<h4>Compatibility<\/h4>\n\n<ul>\n<li>WordPress version 5.8 or later<\/li>\n<li>Gutenberg version 10.7 or later<\/li>\n<\/ul>\n\n<h4>Descriptions of Widget Blocks<\/h4>\n\n<h4>Latest Posts (Custom Post Type)<\/h4>\n\n<p>display a list of your most recent custom posts.<\/p>\n\n<h4>Archives (Custom Post Type)<\/h4>\n\n<p>display a monthly archive of your custom posts.<\/p>\n\n<h4>Categories (Custom Post Type)<\/h4>\n\n<p>display a list of categories that has custom posts.<\/p>\n\n<h4>Calendar (Custom Post Type)<\/h4>\n\n<p>display a calendar of your site\u2019s posts.<\/p>\n\n<h4>Latest Comments (Custom Post Type)<\/h4>\n\n<p>display a list of your most recent comments.<\/p>\n\n<h4>Tag Cloud (Custom Post Type)<\/h4>\n\n<p>display a list of the your most used tags in a tag cloud.<\/p>\n\n<h4>Search (Custom Post Type)<\/h4>\n\n<p>A search form for your site.<\/p>\n\n<h4>Hooks<\/h4>\n\n<p>Custom Post Type Widgets has its own hooks. See the reference for details.<\/p>\n\n<p>Reference: <a href=\"https:\/\/github.com\/thingsym\/custom-post-type-widgets#hooks\">https:\/\/github.com\/thingsym\/custom-post-type-widget-blocks#hooks<\/a><\/p>\n\n<h4>Support<\/h4>\n\n<p>If you have any trouble, you can use the forums or report bugs.<\/p>\n\n<ul>\n<li>Forum: <a href=\"https:\/\/wordpress.org\/support\/plugin\/custom-post-type-widget-blocks\/\">https:\/\/wordpress.org\/support\/plugin\/custom-post-type-widget-blocks\/<\/a><\/li>\n<li>Issues: <a href=\"https:\/\/github.com\/thingsym\/custom-post-type-widget-blocks\/issues\">https:\/\/github.com\/thingsym\/custom-post-type-widget-blocks\/issues<\/a><\/li>\n<\/ul>\n\n<h4>Contribution<\/h4>\n\n<p>Small patches and bug reports can be submitted a issue tracker in Github. Forking on Github is another good way. You can send a pull request.<\/p>\n\n<p>Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.<\/p>\n\n<p>If you have created or updated your own language pack, you can send gettext PO and MO files to author. I can bundle it into plugin.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/thingsym\/custom-post-type-widget-blocks\">VCS - GitHub<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/custom-post-type-widget-blocks\/\">Homepage - WordPress Plugin<\/a><\/li>\n<li><a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/custom-post-type-widget-blocks\">Translate Custom Post Type Widget Blocks into your language.<\/a><\/li>\n<\/ul>\n\n<p>You can also contribute by answering issues on the forums.<\/p>\n\n<ul>\n<li>Forum: <a href=\"https:\/\/wordpress.org\/support\/plugin\/custom-post-type-widget-blocks\/\">https:\/\/wordpress.org\/support\/plugin\/custom-post-type-widget-blocks\/<\/a><\/li>\n<li>Issues: <a href=\"https:\/\/github.com\/thingsym\/custom-post-type-widget-blocks\/issues\">https:\/\/github.com\/thingsym\/custom-post-type-widget-blocks\/issues<\/a><\/li>\n<\/ul>\n\n<h4>Patches and Bug Fixes<\/h4>\n\n<p>Forking on Github is another good way. You can send a pull request.<\/p>\n\n<ol>\n<li>Fork <a href=\"https:\/\/github.com\/thingsym\/custom-post-type-widget-blocks\">Custom Post Type Widget Blocks<\/a> from GitHub repository<\/li>\n<li>Create a feature branch: git checkout -b my-new-feature<\/li>\n<li>Commit your changes: git commit -am 'Add some feature'<\/li>\n<li>Push to the branch: git push origin my-new-feature<\/li>\n<li>Create new Pull Request<\/li>\n<\/ol>\n\n<h4>Contribute guidlines<\/h4>\n\n<p>If you would like to contribute, here are some notes and guidlines.<\/p>\n\n<ul>\n<li>All development happens on the <strong>develop<\/strong> branch, so it is always the most up-to-date<\/li>\n<li>The <strong>master<\/strong> branch only contains tagged releases<\/li>\n<li>If you are going to be submitting a pull request, please submit your pull request to the <strong>develop<\/strong> branch<\/li>\n<li>See about <a href=\"https:\/\/help.github.com\/articles\/fork-a-repo\/\">forking<\/a> and <a href=\"https:\/\/help.github.com\/articles\/using-pull-requests\/\">pull requests<\/a><\/li>\n<\/ul>\n\n<h4>Test Matrix<\/h4>\n\n<p>For operation compatibility between PHP version and WordPress version, see below <a href=\"https:\/\/github.com\/thingsym\/custom-post-type-widget-blocks\/actions\">Github Actions<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download and unzip files. Or install Custom Post Type Widget Blocks plugin using the WordPress plugin installer. In that case, skip 2.<\/li>\n<li>Upload \"custom-post-type-widget-blocks\" to the \"\/wp-content\/plugins\/\" directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Add a widget block in block category 'Custom Post Type Widget Blocks' to the Block Editor.<\/li>\n<li>Have fun!<\/li>\n<\/ol>\n\n<p><strong>IMPORTANT<\/strong>: By default, WordPress will not work Date-based permalinks of custom post type. Recommend that you install the plugin in order to edit the permalink, if you are using a Date-based permalinks.<\/p>\n\n<p>And try the following: <a href=\"https:\/\/wordpress.org\/plugins\/custom-post-type-rewrite\/\">Custom Post Type Rewrite<\/a><\/p>\n\n<!--section=changelog-->\n<h4>1.7.0 - 2024.09.25<\/h4>\n\n<ul>\n<li>remove no published posts<\/li>\n<li>remove has_published_posts<\/li>\n<li>fix filter<\/li>\n<li>add uninstall method<\/li>\n<li>change the data structure 'option_has_published_posts' for Custom Post<\/li>\n<li>add test case<\/li>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>refine code, compliant with the latest source code for standard widget blocks<\/li>\n<li>remove lodash<\/li>\n<li>fix eslintConfig rules<\/li>\n<li>replace from classnames to clsx<\/li>\n<li>specify the type<\/li>\n<li>fix code verification<\/li>\n<li>improve code with phpcs<\/li>\n<li>fix github workflows<\/li>\n<li>fix composer installation<\/li>\n<li>add phpcs job<\/li>\n<\/ul>\n\n<h4>1.6.3 - 2024.08.30<\/h4>\n\n<ul>\n<li>tested up to 6.6.1<\/li>\n<li>update github workflows<\/li>\n<li>fix eslintConfig<\/li>\n<li>update composer dependencies<\/li>\n<li>update npm dependencies<\/li>\n<li>add Disabled<\/li>\n<li>improve build npm scripts<\/li>\n<li>some fixes and fix style<\/li>\n<li>fix test case<\/li>\n<li>fix Deprecated: Creation of dynamic property for test<\/li>\n<li>custom post types may not be available in post type selector in gutenberg editor[#19]<\/li>\n<li>bump up version cpy-cli and fix npm scripts<\/li>\n<\/ul>\n\n<h4>1.6.2 - 2023.11.28<\/h4>\n\n<ul>\n<li>tested up to 6.4.1<\/li>\n<li>fix npm scripts<\/li>\n<li>fix npm dependencies<\/li>\n<li>fix github workflows<\/li>\n<li>add php 8.2 to ci<\/li>\n<li>fix phpunit.xml config<\/li>\n<li>phpunit-polyfills bump up<\/li>\n<li>fix __experimentalGetSettings deprecated<\/li>\n<\/ul>\n\n<h4>1.6.1 - 2023.04.21<\/h4>\n\n<ul>\n<li>tested up to 6.2.0<\/li>\n<li>fix jest config<\/li>\n<li>update npm dependencies<\/li>\n<li>change permission to 744 for cpy<\/li>\n<\/ul>\n\n<h4>1.6.0 - 2023.02.01<\/h4>\n\n<ul>\n<li>fix test case<\/li>\n<li>apply textdomain to styles for block.json<\/li>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>fix npm scripts<\/li>\n<li>fix composer scripts<\/li>\n<li>improve tag-cloud widget block<\/li>\n<li>add showRedirectionPreventedNotice and using dangerouslySetInnerHTML<\/li>\n<li>add return value if post is empty<\/li>\n<li>update package.json<\/li>\n<li>fix block.json<\/li>\n<li>change from assertRegExp to assertMatchesRegularExpression<\/li>\n<li>update github actions, Node.js 12 actions are deprecated<\/li>\n<\/ul>\n\n<h4>1.5.1 - 2022.10.19<\/h4>\n\n<ul>\n<li>fix workflows for php 8.0<\/li>\n<li>fix composer.json<\/li>\n<li>fix compatible with setUp(): void<\/li>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>fix indent and line-break<\/li>\n<li>fix npm scripts<\/li>\n<li>fix load_textdomain and set_block_editor_translations methods for testability<\/li>\n<li>add msgmerge to npm scripts<\/li>\n<li>add support section and enhance contribution section<\/li>\n<li>fix license<\/li>\n<\/ul>\n\n<h4>1.5.0 - 2022.08.24<\/h4>\n\n<ul>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>fix scss<\/li>\n<li>add featured image option<\/li>\n<li>fix search block layout<\/li>\n<li>replace helper scss from base-styles<\/li>\n<li>fix any postType eror<\/li>\n<li>fix npm scripts<\/li>\n<\/ul>\n\n<h4>1.4.0 - 2022.06.10<\/h4>\n\n<ul>\n<li>tested up to 6.0.0<\/li>\n<li>fix npm scripts<\/li>\n<li>update npm dependencies<\/li>\n<li>add test case<\/li>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>add format argument<\/li>\n<li>add ASC\/DESC order option for archive<\/li>\n<li>add get_year_link_custom_post_type and get_day_link_custom_post_type methods<\/li>\n<li>add archive type option<\/li>\n<li>apply textdomain to metadata<\/li>\n<li>add constants CUSTOM_POST_TYPE_WIDGET_BLOCKS_DISABLE_LINKS_ARCHIVE and CUSTOM_POST_TYPE_WIDGET_BLOCKS_DISABLE_LINKS_CALENDAR<\/li>\n<li>change arrays from brace to bracket<\/li>\n<li>fix apply_filters argument<\/li>\n<li>fix wp-plugin-unit-test.yml<\/li>\n<li>rename variable name<\/li>\n<li>add filters<\/li>\n<li>fix the priority of the rewrite rule of register_post_type()<\/li>\n<li>change assert from assertEquals to assertSame<\/li>\n<\/ul>\n\n<h4>1.3.1 - 2022.02.09<\/h4>\n\n<ul>\n<li>update npm dependencies<\/li>\n<li>fix scss<\/li>\n<li>exclude jest config in the archive<\/li>\n<\/ul>\n\n<h4>1.3.0 - 2022.02.04<\/h4>\n\n<ul>\n<li>tested up to 5.9.0<\/li>\n<li>add Upgrade Notice<\/li>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>remove global scope<\/li>\n<li>fix fragment<\/li>\n<li>add text domain for translation<\/li>\n<li>add showOnlyTopLevel option to categories block<\/li>\n<li>improve code structure<\/li>\n<li>fix classnames<\/li>\n<li>add jest unit test only php 7.4<\/li>\n<li>fix to composer install via composer.json<\/li>\n<li>apply a patch temporarily for CI<\/li>\n<li>change to Requires at least 5.8.0<\/li>\n<li>change os to ubuntu-20.04<\/li>\n<li>bump up yoast\/phpunit-polyfills version<\/li>\n<li>add test case for jest<\/li>\n<li>move jest.config.js to root path<\/li>\n<li>fix npm scripts<\/li>\n<li>update npm dependencies for jest<\/li>\n<li>fix label<\/li>\n<li>fix test case<\/li>\n<li>change scss library from LibSass to dart sass<\/li>\n<li>set the initial value an empty array<\/li>\n<li>fix directory with phpunit.xml<\/li>\n<li>change hook to block_categories_all<\/li>\n<li>refine code, compliant with the latest source code for standard widget blocks<\/li>\n<li>fix base styles<\/li>\n<li>add timeout-minutes to workflows<\/li>\n<li>add react-hooks plugin settings<\/li>\n<li>change php distribute folder to blocks for block.json<\/li>\n<li>fix Cannot read property 'rest_base' of undefined<\/li>\n<\/ul>\n\n<h4>1.2.2 - 2021.07.12<\/h4>\n\n<ul>\n<li>update dependencies with package.json<\/li>\n<li>fix .editorconfig<\/li>\n<li>ReferenceError: Cannot access 'A' before initialization<\/li>\n<li>exclude README.md in package<\/li>\n<li>fix latest comments layout<\/li>\n<li>fix class name<\/li>\n<li>add node-sass with package.json<\/li>\n<li>add asset-release workflow<\/li>\n<\/ul>\n\n<h4>1.2.1 - 2021.03.16<\/h4>\n\n<ul>\n<li>fix npm scripts<\/li>\n<li>remove CUSTOM_POST_TYPE_WIDGET_BLOCKS_PATH constant<\/li>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>improve code with phpcs<\/li>\n<li>add test case<\/li>\n<li>add sponsor link<\/li>\n<li>update wordpress-test-matrix<\/li>\n<li>add FUNDING.yml<\/li>\n<li>add donate link<\/li>\n<\/ul>\n\n<h4>1.2.0 - 2020.11.23<\/h4>\n\n<ul>\n<li>fix test case<\/li>\n<li>move hooks<\/li>\n<li>add load_dynamic_blocks method<\/li>\n<li>add load_plugin_data method, change version number with wp_enqueue_*<\/li>\n<li>add load_asset_file method<\/li>\n<li>remove .travis.yml, change CI\/CD to Github Actions<\/li>\n<li>add workflow for unit test<\/li>\n<\/ul>\n\n<h4>1.1.1 - 2020.09.15<\/h4>\n\n<ul>\n<li>check class exists<\/li>\n<li>imporve code with phpcs, phpmd and phpstan<\/li>\n<li>reformat<\/li>\n<li>add strict mode<\/li>\n<\/ul>\n\n<h4>1.1.0 - 2020.08.18<\/h4>\n\n<ul>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>imporve code with phpcs, phpmd and phpstan<\/li>\n<li>update testunit configuration<\/li>\n<li>add Disabled to latest posts block<\/li>\n<li>add unstable__bootstrapServerSideBlockDefinitions<\/li>\n<li>fix test case<\/li>\n<li>change wp cache name<\/li>\n<li>add hooks<\/li>\n<li>change hook tags<\/li>\n<li>add loading asset to register_block_type argument<\/li>\n<li>change asset loading function from wp_enqueue_* to wp_register_*<\/li>\n<li>add checking register_block_type function<\/li>\n<li>change wp_enqueue_script dependency setting to use asset file<\/li>\n<li>add CUSTOM_POST_TYPE_WIDGET_BLOCKS_PATH constant<\/li>\n<\/ul>\n\n<h4>1.0.1 - 2020.05.06 - for plugin review<\/h4>\n\n<ul>\n<li>remove prefix <code>__<\/code> with define name<\/li>\n<li>add LICENSE file<\/li>\n<\/ul>\n\n<h4>1.0.0 - 2020.05.04<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Custom Post Type Widgets for the Block Editor (Gutenberg). This WordPress plugin adds default Custom Post Type Widgets to the Block Editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/121159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=121159"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thingsym"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=121159"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=121159"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=121159"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=121159"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=121159"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=121159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}