{"id":184454,"date":"2024-02-11T16:43:37","date_gmt":"2024-02-11T16:43:37","guid":{"rendered":"https:\/\/en-ca.wordpress.org\/plugins\/accordion-block-lite\/"},"modified":"2024-09-24T00:02:23","modified_gmt":"2024-09-24T00:02:23","slug":"accordion-block-lite","status":"publish","type":"plugin","link":"https:\/\/bn.wordpress.org\/plugins\/accordion-block-lite\/","author":3134467,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.2","stable_tag":"0.1.2","tested":"6.6.5","requires":"6.0","requires_php":"7.0","requires_plugins":null,"header_name":"Accordion Block Lite","header_author":"Troy Templeman","header_description":"A block that displays vertical list items that can expand and collapse to show and hide their associated sections of content.","assets_banners_color":"767676","last_updated":"2024-09-24 00:02:23","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.buymeacoffee.com\/troytempleman","header_plugin_uri":"https:\/\/github.com\/troytempleman\/accordion-block-lite","header_author_uri":"https:\/\/troytempleman.com","rating":0,"author_block_rating":0,"active_installs":400,"downloads":4624,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"troytempleman","date":"2024-09-24 00:02:23"},"0.1.1":{"tag":"0.1.1","author":"troytempleman","date":"2024-09-24 00:02:23"},"0.1.2":{"tag":"0.1.2","author":"troytempleman","date":"2024-09-24 00:02:23"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3055700,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3055700,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3055705,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3055700,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3055700,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"tt\/accordion":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"tt\/accordion","version":"0.1.2","title":"Accordion","category":"text","description":"A block that displays vertical list items that can expand and collapse to show and hide their associated sections of content.","keywords":["accordion","accordion item","block","accessible","responsive"],"textdomain":"accordion","attributes":{"uid":{"type":"string"},"textAlign":{"type":"string"},"headerElement":{"type":"string","default":"paragraph"},"headerHeadingLevel":{"type":"number","default":3}},"providesContext":{"accordion\/headerElement":"headerElement","accordion\/headerHeadingLevel":"headerHeadingLevel"},"example":{"attributes":{"headerElement":"paragraph"},"innerBlocks":[{"name":"tt\/accordion-item","attributes":{"headerElement":"paragraph","headerText":"Lorem ipsum dolor"},"innerBlocks":[{"name":"core\/paragraph","attributes":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus luctus neque vel elementum fringilla. In sed leo in orci porta posuere. Ut dictum justo non dolor hendrerit, sit amet vulputate nisl porta. Maecenas posuere, lacus nec tincidunt dictum, nisl nulla rhoncus augue, non luctus lectus eros congue tellus. Nunc at malesuada sapien."}}]},{"name":"tt\/accordion-item","attributes":{"headerElement":"paragraph","headerText":"Sit amet"},"innerBlocks":[{"name":"core\/paragraph","attributes":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus luctus neque vel elementum fringilla. In sed leo in orci porta posuere. Ut dictum justo non dolor hendrerit, sit amet vulputate nisl porta. Maecenas posuere, lacus nec tincidunt dictum, nisl nulla rhoncus augue, non luctus lectus eros congue tellus. Nunc at malesuada sapien."}}]},{"name":"tt\/accordion-item","attributes":{"headerElement":"paragraph","headerText":"Consectetur adipiscing elit"},"innerBlocks":[{"name":"core\/paragraph","attributes":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus luctus neque vel elementum fringilla. In sed leo in orci porta posuere. Ut dictum justo non dolor hendrerit, sit amet vulputate nisl porta. Maecenas posuere, lacus nec tincidunt dictum, nisl nulla rhoncus augue, non luctus lectus eros congue tellus. Nunc at malesuada sapien."}}]},{"name":"tt\/accordion-item","attributes":{"headerElement":"paragraph","headerText":"Cras finibus sit"},"innerBlocks":[{"name":"core\/paragraph","attributes":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus luctus neque vel elementum fringilla. In sed leo in orci porta posuere. Ut dictum justo non dolor hendrerit, sit amet vulputate nisl porta. Maecenas posuere, lacus nec tincidunt dictum, nisl nulla rhoncus augue, non luctus lectus eros congue tellus. Nunc at malesuada sapien."}}]}]},"supports":{"anchor":true,"align":true,"className":false,"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true,"link":true}},"html":false,"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:.\/index.js","editorStyle":"file:.\/index.css","script":"file:.\/script.js","style":"file:.\/style-index.css","render":"file:.\/render.php"},"tt\/accordion-item":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"tt\/accordion-item","version":"0.1.2","title":"Accordion Item","category":"text","description":"A block that displays a list item that can expand and collapse to show and hide its associated section of content.","keywords":["accordion","accordion item","block","accessible","responsive"],"textdomain":"accordion-item","parent":["tt\/accordion"],"attributes":{"uid":{"type":"string"},"textAlign":{"type":"string"},"headerElement":{"type":"string","default":"paragraph"},"headerHeadingLevel":{"type":"number","default":3},"headerText":{"type":"string"}},"usesContext":["accordion\/headerElement","accordion\/headerHeadingLevel"],"example":{"attributes":{"headerText":"Lorem ipsum dolor"},"innerBlocks":[{"name":"core\/paragraph","attributes":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus luctus neque vel elementum fringilla. In sed leo in orci porta posuere. Ut dictum justo non dolor hendrerit, sit amet vulputate nisl porta. Maecenas posuere, lacus nec tincidunt dictum, nisl nulla rhoncus augue, non luctus lectus eros congue tellus. Nunc at malesuada sapien."}}]},"supports":{"className":false,"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true,"link":true}},"html":false,"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:.\/index.js","style":"file:.\/style-index.css","render":"file:.\/render.php"}},"tagged_versions":["0.1.0","0.1.1","0.1.2"],"block_files":["\/tags\/0.1.2\/src\/accordion\/index.js","\/tags\/0.1.2\/src\/accordion\/script.js","\/tags\/0.1.2\/src\/accordion\/index.css","\/tags\/0.1.2\/src\/accordion\/style-index.css","\/tags\/0.1.2\/src\/accordion-item\/index.js","\/tags\/0.1.2\/src\/accordion-item\/style-index.css","\/tags\/0.1.2\/build\/accordion\/index.js","\/tags\/0.1.2\/build\/accordion\/script.js","\/tags\/0.1.2\/build\/accordion\/index.css","\/tags\/0.1.2\/build\/accordion\/style-index.css","\/tags\/0.1.2\/build\/accordion-item\/index.js","\/tags\/0.1.2\/build\/accordion-item\/style-index.css"],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3034209,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3034209,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3034209,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3034209,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3034209,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Accordion block added from the block inserter.","2":"Accordion block variations <strong>[Pro]<\/strong>.","3":"Accordion block settings sidebar. <strong>[Pro]<\/strong>.","4":"Accordion block settings sidebar <strong>[Pro]<\/strong>.","5":"Accordion block on the front end."},"jetpack_post_was_ever_published":false},"plugin_section":[172757],"plugin_tags":[1985,1741,224337,1220,606],"plugin_category":[43],"plugin_contributors":[224338],"plugin_business_model":[],"class_list":["post-184454","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_tags-accessible","plugin_tags-accordion","plugin_tags-accordion-item","plugin_tags-block","plugin_tags-responsive","plugin_category-customization","plugin_contributors-troytempleman","plugin_committers-troytempleman"],"banners":{"banner":"https:\/\/ps.w.org\/accordion-block-lite\/assets\/banner-772x250.png?rev=3055700","banner_2x":"https:\/\/ps.w.org\/accordion-block-lite\/assets\/banner-1544x500.png?rev=3055700","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/accordion-block-lite\/assets\/icon.svg?rev=3055705","icon":"https:\/\/ps.w.org\/accordion-block-lite\/assets\/icon.svg?rev=3055705","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/accordion-block-lite\/assets\/screenshot-1.png?rev=3034209","caption":"Accordion block added from the block inserter."},{"src":"https:\/\/ps.w.org\/accordion-block-lite\/assets\/screenshot-2.png?rev=3034209","caption":"Accordion block variations <strong>[Pro]<\/strong>."},{"src":"https:\/\/ps.w.org\/accordion-block-lite\/assets\/screenshot-3.png?rev=3034209","caption":"Accordion block settings sidebar. <strong>[Pro]<\/strong>."},{"src":"https:\/\/ps.w.org\/accordion-block-lite\/assets\/screenshot-4.png?rev=3034209","caption":"Accordion block settings sidebar <strong>[Pro]<\/strong>."},{"src":"https:\/\/ps.w.org\/accordion-block-lite\/assets\/screenshot-5.png?rev=3034209","caption":"Accordion block on the front end."}],"raw_content":"<!--section=description-->\n<p>Accordion Block Lite adds an accessible and responsive Accordion block to the block editor inserter that can be added to display list items that expand and collapse to show and hide their associated sections of content.<\/p>\n\n<p>Ideal for condensing longform or complex content, such as Frequently Asked Questions (FAQ). Also useful for reducing page scrolling.<\/p>\n\n<p>Upgrade to Pro at <a href=\"https:\/\/troytempleman.com\/wordpress\/blocks\/accordion-block\/\">https:\/\/troytempleman.com\/wordpress\/blocks\/accordion-block\/<\/a>.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Accessible<\/li>\n<li>Responsive<\/li>\n<li>Inserter button for adding accordion items   <\/li>\n<li>Settings\n\n<ul>\n<li>Block alignment<\/li>\n<li>Text alignment<\/li>\n<li>Text formatting<\/li>\n<li>Header element<\/li>\n<li>Header icon <strong>[Pro]<\/strong> <\/li>\n<li>Header icon position <strong>[Pro]<\/strong> <\/li>\n<\/ul><\/li>\n<li>Styles\n\n<ul>\n<li>Color\n\n<ul>\n<li>Text<\/li>\n<li>Background<\/li>\n<li>Link<\/li>\n<li>Header text <strong>[Pro]<\/strong> <\/li>\n<li>Header text hover <strong>[Pro]<\/strong> <\/li>\n<li>Header text active <strong>[Pro]<\/strong> <\/li>\n<li>Header icon <strong>[Pro]<\/strong> <\/li>\n<li>Header icon hover <strong>[Pro]<\/strong> <\/li>\n<li>Header icon active <strong>[Pro]<\/strong> <\/li>\n<li>Header background <strong>[Pro]<\/strong> <\/li>\n<li>Header background hover <strong>[Pro]<\/strong> <\/li>\n<li>Header background active <strong>[Pro]<\/strong> <\/li>\n<li>Panel text <strong>[Pro]<\/strong> <\/li>\n<li>Panel background <strong>[Pro]<\/strong> <\/li>\n<\/ul><\/li>\n<li>Typography\n\n<ul>\n<li>Font family<\/li>\n<li>Font size<\/li>\n<li>Appearance<\/li>\n<li>Line height<\/li>\n<li>Letter spacing<\/li>\n<li>Text decoration<\/li>\n<li>Letter case<\/li>\n<\/ul><\/li>\n<li>Dimensions\n\n<ul>\n<li>Padding<\/li>\n<li>Margin<\/li>\n<li>Item padding <strong>[Pro]<\/strong> <\/li>\n<li>Item margin <strong>[Pro]<\/strong> <\/li>\n<li>Header icon width <strong>[Pro]<\/strong> <\/li>\n<li>Header padding <strong>[Pro]<\/strong> <\/li>\n<li>Header margin <strong>[Pro]<\/strong> <\/li>\n<li>Panel padding <strong>[Pro]<\/strong> <\/li>\n<li>Panel margin <strong>[Pro]<\/strong> <\/li>\n<\/ul><\/li>\n<li>Border\n\n<ul>\n<li>Item border <strong>[Pro]<\/strong> <\/li>\n<li>Item border radius <strong>[Pro]<\/strong> <\/li>\n<li>Header border <strong>[Pro]<\/strong> <\/li>\n<li>Header border hover <strong>[Pro]<\/strong> <\/li>\n<li>Header border active <strong>[Pro]<\/strong> <\/li>\n<li>Header border radius <strong>[Pro]<\/strong> <\/li>\n<li>Panel border <strong>[Pro]<\/strong> <\/li>\n<li>Panel border radius <strong>[Pro]<\/strong><\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>Variations <strong>[Pro]<\/strong> \n\n<ul>\n<li>Lines <strong>[Pro]<\/strong> <\/li>\n<li>Blocks <strong>[Pro]<\/strong>  <\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>Demo<\/h4>\n\n<p><a href=\"https:\/\/troytempleman.com\/wordpress\/blocks\/accordion-block\/\">https:\/\/troytempleman.com\/wordpress\/blocks\/accordion-block\/<\/a><\/p>\n\n<h4>HTML<\/h4>\n\n<p>Accordion Block Lite will output an Accordion block with the following HTML structure:<\/p>\n\n<pre><code>&lt;ul class=\"wp-block-tt-accordion \"&gt;\n    &lt;li class=\"wp-block-tt-accordion-item wp-block-tt-accordion-item-1\"&gt;\n        &lt;p class=\"wp-block-tt-accordion-item-header\"&gt;\n            &lt;button class=\"wp-block-tt-accordion-item-header-button\" id=\"wp-block-tt-accordion-item-header-button-9515cb6e-8464-424b-a277-3102bd5202cf\" type=\"button\" aria-expanded=\"false\" aria-controls=\"wp-block-tt-accordion-item-panel-9515cb6e-8464-424b-a277-3102bd5202cf\"&gt;\n                &lt;span class=\"wp-block-tt-accordion-item-header-button-text\"&gt;Title&lt;\/span&gt;\n                &lt;span class=\"wp-block-tt-accordion-item-header-button-icon-arrow\" aria-hidden=\"true\"&gt;\n                    &lt;svg version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\"&gt;\n                        &lt;polyline points=\"4.711,8 12,15.289 19.289,8\" stroke=\"black\" stroke-width=\"2\" fill=\"none\"&gt;&lt;\/polyline&gt;\n                    &lt;\/svg&gt;\n                &lt;\/span&gt;\n            &lt;\/button&gt;\n        &lt;\/p&gt;\n        &lt;div class=\"wp-block-tt-accordion-item-panel\" id=\"wp-block-tt-accordion-item-panel-9515cb6e-8464-424b-a277-3102bd5202cf\" role=\"region\" aria-labelledby=\"wp-block-tt-accordion-item-header-button-9515cb6e-8464-424b-a277-3102bd5202cf\" hidden=\"\"&gt;\n            &lt;p&gt;Panel&lt;\/p&gt;\n        &lt;\/div&gt;\n    &lt;\/li&gt;\n&lt;\/ul&gt;\n<\/code><\/pre>\n\n<h3>Support<\/h3>\n\n<p>If you need help with Accordion Block Lite, please submit a ticket on the <a href=\"https:\/\/wordpress.org\/support\/plugin\/accordion-block-lite\">Support<\/a> forum.<\/p>\n\n<h3>Donate<\/h3>\n\n<p>If you like Accordion Block Lite and would like to support it's future development, how about <a href=\"https:\/\/www.buymeacoffee.com\/troytempleman\">buying me a coffee<\/a>?<\/p>\n\n<h3>Contribute<\/h3>\n\n<p>If you would like to contribute to the development of Accordion Block Lite, the repository is located on <a href=\"https:\/\/github.com\/troytempleman\/accordion-block-lite\">GitHub<\/a>.<\/p>\n\n<h3>License<\/h3>\n\n<p>Accordion Block Lite is released under the <a href=\"https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\">GNU General Public License, version 2 (GPLv2)<\/a>.<\/p>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>WordPress 6.0 or greater<\/li>\n<li>PHP version 7.4 or greater<\/li>\n<li>MySQL version 5.7 or greater or MariaDB version 10.3 or greater.<\/li>\n<\/ul>\n\n<h3>Credits<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/www.w3.org\/WAI\/ARIA\/apg\/patterns\/accordion\/\">W3C Accordion (Sections With Show\/Hide Functionality)<\/a><\/li>\n<li><a href=\"https:\/\/www.aditus.io\/patterns\/accordion\/\">Accessible Accordion<\/a><\/li>\n<li><a href=\"https:\/\/inclusive-components.design\/collapsible-sections\/\">Collapsible Sections<\/a><\/li>\n<li><a href=\"https:\/\/www.hassellinclusion.com\/blog\/accessible-accordion-pattern\/\">My favourite accessible accordion pattern<\/a><\/li>\n<li><a href=\"https:\/\/www.a11ywithlindsey.com\/blog\/javascript-accessibility-accordions\">JavaScript and Accessibility: Accordions<\/a><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=ZjYgdf6RKPU\">Creating an Accordion Block that uses the InnerBlock component<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Accordion Block Lite can be installed in one of the following four ways:<\/p>\n\n<h4>Automatic<\/h4>\n\n<p>To install with the built-in plugin installer:<\/p>\n\n<ol>\n<li>Login to your WordPress site at <strong>domain.com\/wp-admin<\/strong>, where <strong>domain.com<\/strong> is the domain of your WordPress site.<\/li>\n<li>On the <strong>Dashboard<\/strong> page, in the left menu, click <strong>Plugins<\/strong>.<\/li>\n<li>On the <strong>Plugins<\/strong> page, click <strong>Add New Plugin<\/strong>.<\/li>\n<li>On the <strong>Add Plugins<\/strong> page, in the <strong>Search plugins...<\/strong> field, type <strong>Accordion Block Lite<\/strong>.<\/li>\n<li>In the <strong>Search Results<\/strong>, locate <strong>Accordion Block Lite<\/strong>, click <strong>Install Now<\/strong> and <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<h4>Upload<\/h4>\n\n<p>To install with a .zip file:<\/p>\n\n<ol>\n<li>Login to your WordPress site at <strong>domain.com\/wp-admin<\/strong>, where <strong>domain.com<\/strong> is the domain of your WordPress site.<\/li>\n<li>On the <strong>Dashboard<\/strong> page, in the left menu, click <strong>Plugins<\/strong>.<\/li>\n<li>On the <strong>Plugins<\/strong> page, click <strong>Add New Plugin<\/strong>.<\/li>\n<li>On the <strong>Add Plugins<\/strong> page, click <strong>Upload Plugin<\/strong>.<\/li>\n<li>Click <strong>Choose File<\/strong>, locate the <strong>.zip file<\/strong> and click <strong>Open<\/strong>. <\/li>\n<li>Click <strong>Install Now<\/strong>.<\/li>\n<li>On the <strong>Installing Plugin from uploaded file<\/strong> page, click <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<h4>Manual<\/h4>\n\n<p>To install with a SFTP client:<\/p>\n\n<ol>\n<li>If you have a <strong>.zip file<\/strong>, unzip it with archiving software such as <a href=\"https:\/\/www.winzip.com\/\">WinZip<\/a> or <a href=\"https:\/\/apps.apple.com\/us\/app\/archive-utility\/id1409613331\">Archive Utility<\/a>.<\/li>\n<li>In a <strong>SFTP client<\/strong> such as <a href=\"https:\/\/winscp.net\/\">WinSCP<\/a> or <a href=\"https:\/\/filezilla-project.org\/\">FileZilla<\/a>, connect to your WordPress site directory on your server.<\/li>\n<li>In the <strong>unzipped files<\/strong>, copy the <strong>accordion-block-lite<\/strong> folder and paste on your server, in your site\u2019s <strong>wp-content\/plugins<\/strong> folder.<\/li>\n<li>Login to your WordPress site at <strong>domain.com\/wp-admin<\/strong>, where <strong>domain.com<\/strong> is the domain of your WordPress site.<\/li>\n<li>On the <strong>Dashboard<\/strong> page, in the left menu, click <strong>Plugins<\/strong>.<\/li>\n<li>On the <strong>Plugins<\/strong> page, locate <strong>Accordion Block Lite<\/strong> and click <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<h4>Theme<\/h4>\n\n<p>To install in your theme instead of a plugin:<\/p>\n\n<ol>\n<li>If you have a <strong>.zip file<\/strong>, unzip it with archiving software such as <a href=\"https:\/\/www.winzip.com\/\">WinZip<\/a> or <a href=\"https:\/\/apps.apple.com\/us\/app\/archive-utility\/id1409613331\">Archive Utility<\/a>.<\/li>\n<li>In the <strong>unzipped files<\/strong>, copy the <strong>accordion-block-lite<\/strong> folder and paste in your site\u2019s theme folder, such as <strong>wp-content\/themes\/your-theme\/inc\/accordion-block-lite\/<\/strong>, where <strong>your-theme<\/strong> is your theme folder.<\/li>\n<li>In a <strong>code editor<\/strong> such as <a href=\"https:\/\/code.visualstudio.com\/\">Visual Studio Code<\/a> or <a href=\"https:\/\/notepad-plus-plus.org\/\">Notepad++<\/a>, open your theme's <strong>functions.php<\/strong> file.<\/li>\n<li>In your <strong>functions.php<\/strong> file, add the path from Step 2, such as <strong>require get_stylesheet_directory() . '\/inc\/accordion-block-lite\/accordion-block-lite.php';<\/strong>.<\/li>\n<li>Save and close your <strong>functions.php<\/strong> file.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20is%20an%20accordion%3F'><h3>What is an accordion?<\/h3><\/dt>\n<dd><p>An accordion is a common UI\/UX pattern that can help reduce or condense the amount of information presented to users.<\/p>\n\n<p>It is a vertically stacked set of interactive headings that each contain a title, content snippet, or thumbnail representing a section of content. The headings function as controls that enable users to reveal or hide their associated sections of content. Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.<\/p>\n\n<p>The term stems from the musical accordion in which sections of the bellows can be expanded by pulling outward.<\/p>\n\n<p>To learn more, see <a href=\"https:\/\/www.w3.org\/WAI\/ARIA\/apg\/patterns\/accordion\/\">Accordion (Sections With Show\/Hide Functionality)<\/a>.<\/p><\/dd>\n<dt id='how%20do%20i%20install%20accordion%20block%20lite%3F'><h3>How do I install Accordion Block Lite?<\/h3><\/dt>\n<dd><p>Please see <strong>Installation<\/strong> section.<\/p><\/dd>\n<dt id='how%20do%20i%20add%20an%20accordion%20block%3F'><h3>How do I add an Accordion block?<\/h3><\/dt>\n<dd><ol>\n<li>Login to your WordPress site at <strong>domain.com\/wp-admin<\/strong>, where <strong>domain.com<\/strong> is the domain of your WordPress site.<\/li>\n<li>On the <strong>Dashboard<\/strong> page, in the left menu, click <strong>Posts<\/strong> or <strong>Pages<\/strong>.<\/li>\n<li>On the <strong>Posts<\/strong> or <strong>Pages<\/strong> page, either click <strong>Add New<\/strong>, search for and\/or click the desired post or page title.<\/li>\n<li>In the <strong>block editor<\/strong>, either:\n\n<ul>\n<li>Click the block inserter <strong>+<\/strong> icon in the top toolbar<\/li>\n<li>Click the block inserter <strong>+<\/strong> icon to the right of an empty block, or<\/li>\n<li>Click the block inserter <strong>+<\/strong> icon between blocks<\/li>\n<\/ul><\/li>\n<li>In the block inserter pop-up modal window, search for and\/or click <strong>Accordion<\/strong> to add an Accordion block.<\/li>\n<\/ol><\/dd>\n<dt id='how%20do%20i%20edit%20an%20accordion%20block%3F'><h3>How do I edit an Accordion block?<\/h3><\/dt>\n<dd><ol>\n<li>Login to your WordPress site at <strong>domain.com\/wp-admin<\/strong>, where <strong>domain.com<\/strong> is the domain of your WordPress site.<\/li>\n<li>On the <strong>Dashboard<\/strong> page, in the left menu, click <strong>Posts<\/strong> or <strong>Pages<\/strong>.<\/li>\n<li>On the <strong>Posts<\/strong> or <strong>Pages<\/strong> page, search for and\/or click the desired post or page title.<\/li>\n<li>In the <strong>block editor<\/strong>, click the desired <strong>Accordion<\/strong> block.<\/li>\n<li>To edit the whole <strong>Accordion<\/strong> block:\n\n<ol>\n<li>In the block toolbar above, click the <strong>Accordion<\/strong> icon, select the desired position, block alignment, text formatting and\/or other options. <\/li>\n<li>In the settings sidebar, in the <strong>Block<\/strong> tab:\n\n<ul>\n<li>In the <strong>Settings<\/strong> tab, select the desired <strong>Header Element<\/strong>, <strong>Header Icon<\/strong> and\/or <strong>Header Icon Position<\/strong> settings.     <\/li>\n<li>In the <strong>Styles<\/strong> tab, select the desired <strong>Color<\/strong>, <strong>Typography<\/strong>, <strong>Dimensions<\/strong> and\/or <strong>Border<\/strong> settings. <\/li>\n<\/ul><\/li>\n<\/ol><\/li>\n<li>To edit an <strong>Accordion Item<\/strong> within the Accordion block:\n\n<ol>\n<li>Click the desired <strong>Accordion Item<\/strong> title and\/or panel to edit.<\/li>\n<li>In the block toolbar above, select the desired position, text alignment, text formatting and\/or other options. <\/li>\n<li>In the settings sidebar, in the <strong>Block<\/strong> tab, select the desired <strong>Color<\/strong>, <strong>Typography<\/strong>, <strong>Dimensions<\/strong> and\/or <strong>Advanced<\/strong> settings. <\/li>\n<\/ol><\/li>\n<li>To add an <strong>Accordion Item<\/strong>, click the <strong>+<\/strong> button below the Accordion block.<\/li>\n<\/ol><\/dd>\n<dt id='how%20do%20i%20setup%20a%20development%20environment%3F'><h3>How do I setup a development environment?<\/h3><\/dt>\n<dd><ol>\n<li>Install WordPress on a local server such as <a href=\"https:\/\/localwp.com\/\">Local<\/a>, <a href=\"https:\/\/www.docker.com\/\">Docker<\/a>, <a href=\"https:\/\/www.mamp.info\/\">MAMP<\/a> or <a href=\"https:\/\/www.apachefriends.org\/\">XAMPP<\/a>.<\/li>\n<li>To install Accordion Block Lite on your local site, see <strong>Installation<\/strong> section.<\/li>\n<li>If node.js is not already installed locally, go to <a href=\"https:\/\/nodejs.org\/\">https:\/\/nodejs.org\/<\/a> to install.<\/li>\n<li>In a <strong>Command Line Interface (CLI)<\/strong> such as Command Prompt or Terminal, navigate to the <strong>accordion-block-lite<\/strong> folder. For example, <strong>cd localhost\/your-site\/wp-content\/plugins\/accordion-block-lite<\/strong>.<\/li>\n<li>To install project dependencies, type <strong>npm install<\/strong>.<\/li>\n<li>In the <strong>accordion-block-lite<\/strong> folder, edit the desired file or files.<\/li>\n<li>To create or update the production <strong>build<\/strong> directory, type <strong>npm run build<\/strong>. For other commands, type <strong>npm run<\/strong>.<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.2 - September 22, 2024<\/h4>\n\n<ul>\n<li>Updated: Version in <code>accordion-block-lite.php<\/code> and <code>package.json<\/code>.<\/li>\n<li>Updated: Tags, stable tag and changelog in <code>readme.md<\/code> and <code>readme.txt<\/code>.<\/li>\n<li>Updated: Version and keywords in <code>build\/accordion\/block.json<\/code>, <code>build\/accordion-item\/block.json<\/code>, <code>src\/accordion\/block.json<\/code>, and <code>src\/accordion-item\/block.json<\/code>.<\/li>\n<\/ul>\n\n<h4>0.1.1 - April 2, 2024<\/h4>\n\n<ul>\n<li>Added: Code to prevent direct file access in <code>build\/accordion\/render.php<\/code>, <code>build\/accordion-item\/render.php<\/code>, <code>src\/accordion\/render.php<\/code>, and <code>src\/accordion-item\/render.php<\/code>.<\/li>\n<li>Added: Security improvement by adding <code>wp_kses_post<\/code> filter to <code>$block_content<\/code> in <code>build\/accordion\/render.php<\/code>, <code>build\/accordion-item\/render.php<\/code>, <code>src\/accordion\/render.php<\/code>, and <code>src\/accordion-item\/render.php<\/code>.<\/li>\n<li>Updated: Version in <code>accordion-block-lite.php<\/code> and <code>package.json<\/code>.<\/li>\n<li>Updated: Stable tag and changelog in <code>readme.md<\/code> and <code>readme.txt<\/code>.<\/li>\n<li>Updated: Version in <code>build\/accordion\/block.json<\/code>, <code>build\/accordion-item\/block.json<\/code>, <code>src\/accordion\/block.json<\/code>, and <code>src\/accordion-item\/block.json<\/code>.<\/li>\n<\/ul>\n\n<h4>0.1.0 - November 15, 2023<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A block that displays list items that expand and collapse to show and hide their associated sections of content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/184454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=184454"}],"author":[{"embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/troytempleman"}],"wp:attachment":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=184454"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=184454"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=184454"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=184454"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=184454"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=184454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}