{"id":136155,"date":"2021-02-08T10:43:03","date_gmt":"2021-02-08T10:43:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/toggles\/"},"modified":"2024-07-16T10:59:50","modified_gmt":"2024-07-16T10:59:50","slug":"toggles","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/toggles\/","author":2255796,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"1.1.1","tested":"6.6.5","requires":"6.4","requires_php":"5.6","requires_plugins":null,"header_name":"Toggles","header_author":"George Mamadashvili","header_description":"An easy way to hide and reveal content.","assets_banners_color":"","last_updated":"2024-07-16 10:59:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/Mamaduka\/toggles","header_author_uri":"https:\/\/mamaduka.com\/","rating":5,"author_block_rating":4.9166666666667,"active_installs":2000,"downloads":15735,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":2,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"Mamaduka","date":"2021-02-08 10:42:42"},"1.0.1":{"tag":"1.0.1","author":"Mamaduka","date":"2022-02-14 18:14:52"},"1.1.0":{"tag":"1.1.0","author":"Mamaduka","date":"2023-06-17 14:03:49"},"1.1.1":{"tag":"1.1.1","author":"Mamaduka","date":"2024-07-16 10:59:50"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":7},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":2927357,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":{"mamaduka\/toggles":{"apiVersion":2,"name":"mamaduka\/toggles","title":"Toggles","category":"common","icon":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='20' height='20' fill='black' viewBox='0 0 24 24'><path d='M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zM4 4v8l7-4-7-4z'\/><\/svg>","description":"An easy way to hide and reveal content.","keywords":["accordion","details","faq"],"attributes":{"summary":{"type":"string","source":"html","selector":"summary","default":""},"defaultOpen":{"type":"boolean","default":false}},"supports":{"align":["wide","full"],"html":false,"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true}},"__experimentalBorder":{"color":true,"width":true,"style":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}}},"editorScript":"file:build\/index.js","editorStyle":"file:build\/index.css"}},"tagged_versions":["1.0.0","1.0.1","1.1.0","1.1.1"],"block_files":["\/tags\/1.1.1\/.\/build\/index.js","\/tags\/1.1.1\/.\/build\/index.css"],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2470720,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2470720,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2470720,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"The block with no styles.","2":"The block with custom styling.","3":"Block Editor."},"jetpack_post_was_ever_published":false},"plugin_section":[172757],"plugin_tags":[1741,1220,4121,4557,1643],"plugin_category":[43],"plugin_contributors":[80562],"plugin_business_model":[],"class_list":["post-136155","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_tags-accordion","plugin_tags-block","plugin_tags-blocks","plugin_tags-details","plugin_tags-faq","plugin_category-customization","plugin_contributors-mamaduka","plugin_committers-mamaduka"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/toggles\/assets\/icon.svg?rev=2927357","icon":"https:\/\/ps.w.org\/toggles\/assets\/icon.svg?rev=2927357","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/toggles\/assets\/screenshot-1.png?rev=2470720","caption":"The block with no styles."},{"src":"https:\/\/ps.w.org\/toggles\/assets\/screenshot-2.png?rev=2470720","caption":"The block with custom styling."},{"src":"https:\/\/ps.w.org\/toggles\/assets\/screenshot-3.png?rev=2470720","caption":"Block Editor."}],"raw_content":"<!--section=description-->\n<p>You can use this block to hide and reveal content as needed. Create FAQ pages, hide spoilers in posts, or create simple accordion elements.<\/p>\n\n<p>The block uses <code>&lt;details&gt;<\/code> and <code>&lt;summary&gt;<\/code> HTML elements and doesn't require any additional JavaScript or CSS on the theme side.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='want%20to%20change%20default%20styles%3F'><h3>Want to change default styles?<\/h3><\/dt>\n<dd><p>You can add some basic styling with just a few lines of CSS. Example:<\/p>\n\n<pre><code>.wp-block-toggles {\n    background: #fafafa;\n    border: 1px solid #eaeaea;\n    border-radius: 3px;\n    margin: 1.5rem 0;\n    padding: 0.5rem 1rem;\n}\n\n.wp-block-toggles summary {\n    cursor: pointer;\n}\n<\/code><\/pre><\/dd>\n<dt id='want%20to%20report%20a%20bug%3F'><h3>Want to report a bug?<\/h3><\/dt>\n<dd><p>Create an issue at the <a href=\"https:\/\/github.com\/Mamaduka\/toggles\">Mamaduka\/toggles<\/a> repo.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.1 - 2024-07-16<\/h4>\n\n<ul>\n<li>Bumped minimum required WordPress version to 6.4.<\/li>\n<\/ul>\n\n<h4>1.1.0 - 2023-06-17<\/h4>\n\n<ul>\n<li>Bumped minimum required WordPress version to 6.1.<\/li>\n<li>Fixes an error when selecting deeply nested inner blocks.<\/li>\n<li>Block support enhancements.<\/li>\n<\/ul>\n\n<h4>1.0.1 - 2022-02-14<\/h4>\n\n<ul>\n<li>Bumped minimum required WordPress version to 5.8.<\/li>\n<li>Pass component to <code>renderAppender<\/code>.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 2021-02-05<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"An easy way to hide and reveal content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/136155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=136155"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mamaduka"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=136155"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=136155"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=136155"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=136155"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=136155"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=136155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}