{"id":170066,"date":"2023-02-14T13:20:15","date_gmt":"2023-02-14T13:20:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/hide-or-toggle\/"},"modified":"2023-02-14T13:19:41","modified_gmt":"2023-02-14T13:19:41","slug":"hide-or-toggle","status":"publish","type":"plugin","link":"https:\/\/ca.wordpress.org\/plugins\/hide-or-toggle\/","author":9895004,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.0","stable_tag":"trunk","tested":"6.1.10","requires":"6.1","requires_php":"7.0","requires_plugins":"","header_name":"Hide Or Toggle","header_author":"Ignasi Tort","header_description":"Example block scaffolded with Create Block tool.","assets_banners_color":"","last_updated":"2023-02-14 13:19:41","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":662,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2865111,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2865111,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":{"hide-or-toggle\/simple-blocks":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"hide-or-toggle\/simple-blocks","version":"0.1.0","title":"Simple with Blocks","category":"widgets","keywords":["simple blocks"],"icon":"plus-alt","description":"Simple Blocks is based in Itm Simple Hide. ","supports":{"html":false,"color":{"text":true,"background":true}},"attributes":{"title":{"type":"string","source":"html","selector":".title"},"backgroundColor":{"type":"string"},"speed":{"type":"string","default":"slow"}},"example":{"attributes":{"title":"Use a tittle or a question","content":"A paragraph with some content."}},"textdomain":"hide-or-toggle","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css"},"hide-or-toggle\/simple-hide":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"hide-or-toggle\/simple-hide","version":"0.1.0","title":"Simple Hide","category":"widgets","keywords":["hide","show","toggle","accordion","faq"],"icon":"plus-alt","description":"Simple Hide is based in Itm Simple Hide. ","supports":{"html":false,"color":{"text":true,"background":true}},"styles":[{"name":"default","label":"Default","isDefault":true},{"name":"expanded","label":"Expanded"},{"name":"compact","label":"Compact"}],"attributes":{"iconopen":{"type":"boolean","source":"html","selector":".show","default":true},"iconclose":{"type":"string","source":"html","selector":".hide","default":false},"title":{"type":"string","source":"html","selector":".title"},"content":{"type":"string","source":"html","selector":".hidden"},"backgroundColor":{"type":"string"}},"example":{"attributes":{"title":"Use a tittle or a question","content":"A paragraph with some content."}},"textdomain":"hide-or-toggle","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css"},"hide-or-toggle\/simple-toggle":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"hide-or-toggle\/simple-toggle","version":"0.1.0","title":"Simple Toggle","category":"widgets","keywords":["hide","show","toggle","accordion","faq"],"icon":"plus-alt","description":"Simple Toggle is based in Itm Simple Hide. ","supports":{"html":false,"color":{"text":true,"background":true}},"styles":[{"name":"default","label":"Default","isDefault":true},{"name":"expanded","label":"Expanded"},{"name":"compact","label":"Compact"}],"attributes":{"title":{"type":"string","source":"html","selector":".title"},"content":{"type":"string","source":"html","selector":".hidden"},"backgroundColor":{"type":"string"},"speed":{"type":"string","default":"slow"}},"example":{"attributes":{"title":"Use a tittle or a question","content":"A paragraph with some content."}},"textdomain":"hide-or-toggle","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css"}},"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2865111,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2865111,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2865111,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2865111,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2865111,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"You can use this block to hide or show text content.","2":"Stacking some of this blocks in a page you can build a FAQ page.","3":"Stacking some of this blocks in a page you can build a questions and answers page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220],"plugin_category":[],"plugin_contributors":[90428],"plugin_business_model":[],"class_list":["post-170066","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_contributors-capbussat","plugin_committers-capbussat"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/hide-or-toggle\/assets\/icon-128x128.png?rev=2865111","icon_2x":"https:\/\/ps.w.org\/hide-or-toggle\/assets\/icon-256x256.png?rev=2865111","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/hide-or-toggle\/assets\/screenshot-1.png?rev=2865111","caption":"You can use this block to hide or show text content."},{"src":"https:\/\/ps.w.org\/hide-or-toggle\/assets\/screenshot-2.png?rev=2865111","caption":"Stacking some of this blocks in a page you can build a FAQ page."},{"src":"https:\/\/ps.w.org\/hide-or-toggle\/assets\/screenshot-3.png?rev=2865111","caption":"Stacking some of this blocks in a page you can build a questions and answers page."},{"src":"https:\/\/ps.w.org\/hide-or-toggle\/assets\/screenshot-4.png?rev=2865111","caption":""},{"src":"https:\/\/ps.w.org\/hide-or-toggle\/assets\/screenshot-5.png?rev=2865111","caption":""}],"raw_content":"<!--section=description-->\n<p>Currently there are two blocks.<\/p>\n\n<h4>Simple Hide block<\/h4>\n\n<p>Simple Hide block is a simple, easy and useful block that places a title and an open icon. \nThe following paragraph or content is hidden until the user clicks the open icon.\nIt uses  an open icon (+) to show the paragraph content following the title. \nA close icon appears (-). Then, you can use a close icon to hide the paragraph content following the title.<\/p>\n\n<h4>Simple Toggle block<\/h4>\n\n<p>Simple Toggle is the same block without icons.\nJust click on the first paragraph to toggle the second paragraph.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/itm-simple-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<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20use%20it%20as%20a%20list%20of%20questions%20and%20answers%3F'><h3>Can I use it as a list of questions and answers?<\/h3><\/dt>\n<dd><p>Yes. Just insert the block again or just duplicate it. Each block looks as an item. It's not really an Html list but a succession of blocks in the same page.<\/p><\/dd>\n<dt id='how%20can%20i%20style%20the%20title%20and%20content%3F'><h3>How can I style the title and content?<\/h3><\/dt>\n<dd><p>Currently has Default, Compact and Expanded style with some background changes and different padding and margin.<\/p><\/dd>\n<dt id='can%20i%20change%20text%20or%20background%20color%3F'><h3>Can I change text or background color?<\/h3><\/dt>\n<dd><p>Yes, you can pick a different color for text or background for each block.\nOr leave as it is, with defaults to theme colors.<\/p><\/dd>\n<dt id='what%20if%20i%20need%20more%20styling%20%3F'><h3>What if I need more styling ?<\/h3><\/dt>\n<dd><p>We may add some settings to change padding and margin values or to choose a different opening and closing icons. \nWe do not have a dealine yet and we want to keep it simple!.<\/p><\/dd>\n<dt id='what%20resources%20uses%3F'><h3>What resources uses?<\/h3><\/dt>\n<dd><p>In addition to block editors and wp components uses the wp dashicons library and a very small jQuery javascript file.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Release<\/li>\n<\/ul>","raw_excerpt":"Hide or Toggle plugin is a WordPress plugin that creates several blocks and replaces and improves over Itm Simple Hide as a WordPress Block.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/170066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=170066"}],"author":[{"embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/capbussat"}],"wp:attachment":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=170066"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=170066"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=170066"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=170066"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=170066"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=170066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}