{"id":163585,"date":"2022-10-21T00:47:55","date_gmt":"2022-10-21T00:47:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/details-show-and-hide\/"},"modified":"2024-09-29T14:36:47","modified_gmt":"2024-09-29T14:36:47","slug":"details-show-and-hide","status":"closed","type":"plugin","link":"https:\/\/ltz.wordpress.org\/plugins\/details-show-and-hide\/","author":20265871,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"trunk","tested":"6.2.9","requires":"5.9","requires_php":"5.6","requires_plugins":null,"header_name":"Details: Show and Hide","header_author":"Bob Matyas","header_description":"Details block for showing and hiding content.","assets_banners_color":"","last_updated":"2024-09-29 14:36:47","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.bobmatyas.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1854,"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":"lastsplash","date":"2022-11-04 00:32:45"},"1.0.3":{"tag":"1.0.3","author":"lastsplash","date":"2024-09-26 01:10:11"},"1.04":{"tag":"1.04","author":"lastsplash","date":"2024-09-29 14:36:47"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3157892,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3157892,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3157892,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3157892,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"bm\/wp-details-block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"bm\/wp-details-block","version":"1.0","title":"Details: Show and Hide","category":"design","icon":"arrow-right","description":"A block for showing and hiding content.","keywords":["details","show","hide","expand"],"supports":{"html":false,"color":{"background":true,"text":true},"spacing":{"padding":true},"typography":{"fontSize":true,"lineHeight":true}},"attributes":{"heading":{"type":"string","source":"html","selector":".wp-block-bm-wp-details-block"}},"textdomain":"wp-details-block","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css"}},"tagged_versions":["1.0.0","1.0.3","1.04"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3157892,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3157892,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3157892,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Collapsed details element with clickable heading.","2":"Expanded details element with inner content.","3":"Editor view of adding the block and inner content."}},"plugin_section":[],"plugin_tags":[1220],"plugin_category":[46],"plugin_contributors":[214800],"plugin_business_model":[],"class_list":["post-163585","plugin","type-plugin","status-closed","hentry","plugin_tags-block","plugin_category-editor-and-writing","plugin_contributors-lastsplash","plugin_committers-lastsplash"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/details-show-and-hide.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/details-show-and-hide\/assets\/screenshot-1.png?rev=3157892","caption":"Collapsed details element with clickable heading."},{"src":"https:\/\/ps.w.org\/details-show-and-hide\/assets\/screenshot-2.png?rev=3157892","caption":"Expanded details element with inner content."},{"src":"https:\/\/ps.w.org\/details-show-and-hide\/assets\/screenshot-3.png?rev=3157892","caption":"Editor view of adding the block and inner content."}],"raw_content":"<!--section=description-->\n<p><strong>Beginning with WordPress v6.3, a Details Block is included in WordPress. This plugin is no longer needed.<\/strong><\/p>\n\n<p>The block allows you to easily show and hide content using built-in browser functionality. It doesn't load any external JavaScript and relies on native HTML functionality. You can configure the appearance using built-in editor controls.<\/p>\n\n<p>It uses the HTML <code>details<\/code> element to show and hide the content.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/wp-details-block<\/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>Start adding content.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20customize%20the%20styling%3F'><h3>How do I customize the styling?<\/h3><\/dt>\n<dd><p>The wrapper <code>&lt;details&gt;<\/code> element has the class <code>.wp-block-bm-wp-details-container<\/code> that you can use to target it and adjust styling as needed.<\/p>\n\n<p>The <code>&lt;summary&gt;<\/code> element has the class <code>.wp-block-bm-wp-details-block<\/code>.<\/p><\/dd>\n<dt id='where%20can%20i%20learn%20more%20about%20browser%20support%3F'><h3>Where can I learn more about browser support?<\/h3><\/dt>\n<dd><p>Details is supported in most major browsers (Chrome, Firefox, and Safari). Caniuse.com has a breakdown of browser support for <a href=\"https:\/\/caniuse.com\/details\">the details element<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Add deprecation notice<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Deploy from Github<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A block for showing and hiding content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/163585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=163585"}],"author":[{"embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lastsplash"}],"wp:attachment":[{"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=163585"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=163585"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=163585"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=163585"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=163585"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ltz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=163585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}