{"id":165400,"date":"2022-11-10T06:01:05","date_gmt":"2022-11-10T06:01:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/card-block-with-box-shadow\/"},"modified":"2023-04-10T16:50:00","modified_gmt":"2023-04-10T16:50:00","slug":"card-block-with-box-shadow","status":"publish","type":"plugin","link":"https:\/\/fa.wordpress.org\/plugins\/card-block-with-box-shadow\/","author":20742022,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.0","stable_tag":"2.0.0","tested":"6.2.9","requires":"5.9","requires_php":"7.4","requires_plugins":"","header_name":"Card Block with Box Shadow","header_author":"thongtruong","header_description":"Add a custom card block to WordPress block editor. It can be used as a content container with custom controls for padding, margin, background color\/gradient and, hence the name of the block - box shadow.","assets_banners_color":"f6f6f6","last_updated":"2023-04-10 16:50:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/thongtruong.com","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1572,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"thongtruong","date":"2022-11-10 09:31:26"},"2.0.0":{"tag":"2.0.0","author":"thongtruong","date":"2023-04-10 16:50:00"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2815698,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2815698,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2815698,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2815698,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2815698,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"thongtruong\/card-block-with-box-shadow":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"thongtruong\/card-block-with-box-shadow","version":"2.0.0","title":"Card Block with Box Shadow","category":"design","description":"Add a custom card block to WordPress block editor. It can be used as a content container with custom controls for padding, margin, background color\/gradient and, hence the name of the block - box shadow.","attributes":{"cardBoxShadowToggle":{"type":"boolean","default":true},"cardBoxShadow":{"type":"object","default":{"offsetX":0,"offsetY":24,"blurRadius":48,"spreadRadius":0,"shadowColor":"rgba(193,203,220,0.4)"}},"defaultPadding":{"type":"number","default":30}},"supports":{"__experimentalOnEnter":true,"__experimentalSettings":true,"align":["wide","full"],"anchor":true,"ariaLabel":true,"html":false,"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"margin":["top","bottom"],"padding":true,"blockGap":["horizontal","vertical"],"__experimentalDefaultControls":{"padding":true,"margin":true}},"dimensions":{"minHeight":true},"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"style":true,"width":true}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"card-block-with-box-shadow","editorScript":"file:.\/main.js","editorStyle":"file:.\/main.css","style":"file:.\/style-main.css"}},"tagged_versions":["1.0.0","2.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2815698,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2815698,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2815698,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2815698,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2815698,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Type \"\/card\" to choose the block","2":"Add any block you wish inside the card block","3":"The card shadow toggle is enabled by default","4":"When the card shadow toggle is disabled, it will hide the card shadow control underneath","5":"The result on frontend"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,15095],"plugin_category":[],"plugin_contributors":[215447],"plugin_business_model":[],"class_list":["post-165400","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-card","plugin_contributors-thongtruong","plugin_committers-thongtruong"],"banners":{"banner":"https:\/\/ps.w.org\/card-block-with-box-shadow\/assets\/banner-772x250.png?rev=2815698","banner_2x":"https:\/\/ps.w.org\/card-block-with-box-shadow\/assets\/banner-1544x500.png?rev=2815698","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/card-block-with-box-shadow\/assets\/icon.svg?rev=2815698","icon":"https:\/\/ps.w.org\/card-block-with-box-shadow\/assets\/icon.svg?rev=2815698","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/card-block-with-box-shadow\/assets\/screenshot-1.png?rev=2815698","caption":"Type \"\/card\" to choose the block"},{"src":"https:\/\/ps.w.org\/card-block-with-box-shadow\/assets\/screenshot-2.png?rev=2815698","caption":"Add any block you wish inside the card block"},{"src":"https:\/\/ps.w.org\/card-block-with-box-shadow\/assets\/screenshot-3.png?rev=2815698","caption":"The card shadow toggle is enabled by default"},{"src":"https:\/\/ps.w.org\/card-block-with-box-shadow\/assets\/screenshot-4.png?rev=2815698","caption":"When the card shadow toggle is disabled, it will hide the card shadow control underneath"},{"src":"https:\/\/ps.w.org\/card-block-with-box-shadow\/assets\/screenshot-5.png?rev=2815698","caption":"The result on frontend"}],"raw_content":"<!--section=description-->\n<p><strong>NOTE: This block plugin is only compatible with hybrid and block themes.<\/strong><\/p>\n\n<p>The card block can be used as a content container with custom controls for padding, margin, background color\/gradient and, hence the name of the block - box shadow.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/card-block-with-box-shadow<\/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<li>Go to WordPress block editor in page\/post and type \"\/card\" to choose the Card Block with Box Shadow block and begin editting.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20type%20of%20blocks%20can%20be%20used%20inside%20the%20card%20block%20with%20box%20shadow%20block%3F'><h3>What type of blocks can be used inside the Card Block with Box Shadow block?<\/h3><\/dt>\n<dd><p>Any block<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Refactor codebase to TypeScript<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Add a custom card block to WordPress block editor with box shadow setting.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/165400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=165400"}],"author":[{"embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thongtruong"}],"wp:attachment":[{"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=165400"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=165400"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=165400"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=165400"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=165400"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=165400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}