Title: Accordion Block Lite
Author: Troy Templeman
Published: <strong>2024년 2월 11일</strong>
Last modified: 2024년 9월 24일

---

플러그인 검색

![](https://ps.w.org/accordion-block-lite/assets/banner-772x250.png?rev=3055700)

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://ps.w.org/accordion-block-lite/assets/icon.svg?rev=3055705)

# Accordion Block Lite

 작성자: [Troy Templeman](https://profiles.wordpress.org/troytempleman/)

[다운로드](https://downloads.wordpress.org/plugin/accordion-block-lite.0.1.2.zip)

 * [세부사항](https://ko.wordpress.org/plugins/accordion-block-lite/#description)
 * [평가](https://ko.wordpress.org/plugins/accordion-block-lite/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/accordion-block-lite/#installation)
 * [개발](https://ko.wordpress.org/plugins/accordion-block-lite/#developers)

 [지원](https://wordpress.org/support/plugin/accordion-block-lite/)

## 설명

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.

Ideal for condensing longform or complex content, such as Frequently Asked Questions(
FAQ). Also useful for reducing page scrolling.

Upgrade to Pro at [https://troytempleman.com/wordpress/blocks/accordion-block/](https://troytempleman.com/wordpress/blocks/accordion-block/).

#### Features

 * Accessible
 * Responsive
 * Inserter button for adding accordion items
 * Settings
    - Block alignment
    - Text alignment
    - Text formatting
    - Header element
    - Header icon **[Pro]**
    - Header icon position **[Pro]**
 * Styles
    - Color
       * Text
       * Background
       * Link
       * Header text **[Pro]**
       * Header text hover **[Pro]**
       * Header text active **[Pro]**
       * Header icon **[Pro]**
       * Header icon hover **[Pro]**
       * Header icon active **[Pro]**
       * Header background **[Pro]**
       * Header background hover **[Pro]**
       * Header background active **[Pro]**
       * Panel text **[Pro]**
       * Panel background **[Pro]**
    - Typography
       * Font family
       * Font size
       * Appearance
       * Line height
       * Letter spacing
       * Text decoration
       * Letter case
    - Dimensions
       * Padding
       * Margin
       * Item padding **[Pro]**
       * Item margin **[Pro]**
       * Header icon width **[Pro]**
       * Header padding **[Pro]**
       * Header margin **[Pro]**
       * Panel padding **[Pro]**
       * Panel margin **[Pro]**
    - Border
       * Item border **[Pro]**
       * Item border radius **[Pro]**
       * Header border **[Pro]**
       * Header border hover **[Pro]**
       * Header border active **[Pro]**
       * Header border radius **[Pro]**
       * Panel border **[Pro]**
       * Panel border radius **[Pro]**
 * Variations **[Pro]**
    - Lines **[Pro]**
    - Blocks **[Pro]**

#### Demo

[https://troytempleman.com/wordpress/blocks/accordion-block/](https://troytempleman.com/wordpress/blocks/accordion-block/)

#### HTML

Accordion Block Lite will output an Accordion block with the following HTML structure:

    ```
    <ul class="wp-block-tt-accordion ">
        <li class="wp-block-tt-accordion-item wp-block-tt-accordion-item-1">
            <p class="wp-block-tt-accordion-item-header">
                <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">
                    <span class="wp-block-tt-accordion-item-header-button-text">Title</span>
                    <span class="wp-block-tt-accordion-item-header-button-icon-arrow" aria-hidden="true">
                        <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">
                            <polyline points="4.711,8 12,15.289 19.289,8" stroke="black" stroke-width="2" fill="none"></polyline>
                        </svg>
                    </span>
                </button>
            </p>
            <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="">
                <p>Panel</p>
            </div>
        </li>
    </ul>
    ```

### Support

If you need help with Accordion Block Lite, please submit a ticket on the [Support](https://wordpress.org/support/plugin/accordion-block-lite)
forum.

### Donate

If you like Accordion Block Lite and would like to support it’s future development,
how about [buying me a coffee](https://www.buymeacoffee.com/troytempleman)?

### Contribute

If you would like to contribute to the development of Accordion Block Lite, the 
repository is located on [GitHub](https://github.com/troytempleman/accordion-block-lite).

### License

Accordion Block Lite is released under the [GNU General Public License, version 2 (GPLv2)](https://www.gnu.org/licenses/gpl-2.0.html).

### Requirements

 * WordPress 6.0 or greater
 * PHP version 7.4 or greater
 * MySQL version 5.7 or greater or MariaDB version 10.3 or greater.

### Credits

 * [W3C Accordion (Sections With Show/Hide Functionality)](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/)
 * [Accessible Accordion](https://www.aditus.io/patterns/accordion/)
 * [Collapsible Sections](https://inclusive-components.design/collapsible-sections/)
 * [My favourite accessible accordion pattern](https://www.hassellinclusion.com/blog/accessible-accordion-pattern/)
 * [JavaScript and Accessibility: Accordions](https://www.a11ywithlindsey.com/blog/javascript-accessibility-accordions)
 * [Creating an Accordion Block that uses the InnerBlock component](https://www.youtube.com/watch?v=ZjYgdf6RKPU)

## 스크린샷

[⌊Accordion block added from the block inserter.⌉⌊Accordion block added from the
block inserter.⌉[

Accordion block added from the block inserter.

[⌊Accordion block variations [Pro].⌉⌊Accordion block variations [Pro].⌉[

Accordion block variations **[Pro]**.

[⌊Accordion block settings sidebar. [Pro].⌉⌊Accordion block settings sidebar. [Pro]
.⌉[

Accordion block settings sidebar. **[Pro]**.

[⌊Accordion block settings sidebar [Pro].⌉⌊Accordion block settings sidebar [Pro]
.⌉[

Accordion block settings sidebar **[Pro]**.

[⌊Accordion block on the front end.⌉⌊Accordion block on the front end.⌉[

Accordion block on the front end.

## 블록

이 플러그인은 2개의 블록을 제공합니다.

 *   Accordion A block that displays vertical list items that can expand and collapse
   to show and hide their associated sections of content.
 *   Accordion Item A block that displays a list item that can expand and collapse
   to show and hide its associated section of content.

## 설치

Accordion Block Lite can be installed in one of the following four ways:

#### Automatic

To install with the built-in plugin installer:

 1. Login to your WordPress site at **domain.com/wp-admin**, where **domain.com** is
    the domain of your WordPress site.
 2. On the **Dashboard** page, in the left menu, click **Plugins**.
 3. On the **Plugins** page, click **Add New Plugin**.
 4. On the **Add Plugins** page, in the **Search plugins…** field, type **Accordion
    Block Lite**.
 5. In the **Search Results**, locate **Accordion Block Lite**, click **Install Now**
    and **Activate**.

#### Upload

To install with a .zip file:

 1. Login to your WordPress site at **domain.com/wp-admin**, where **domain.com** is
    the domain of your WordPress site.
 2. On the **Dashboard** page, in the left menu, click **Plugins**.
 3. On the **Plugins** page, click **Add New Plugin**.
 4. On the **Add Plugins** page, click **Upload Plugin**.
 5. Click **Choose File**, locate the **.zip file** and click **Open**.
 6. Click **Install Now**.
 7. On the **Installing Plugin from uploaded file** page, click **Activate**.

#### Manual

To install with a SFTP client:

 1. If you have a **.zip file**, unzip it with archiving software such as [WinZip](https://www.winzip.com/)
    or [Archive Utility](https://apps.apple.com/us/app/archive-utility/id1409613331).
 2. In a **SFTP client** such as [WinSCP](https://winscp.net/) or [FileZilla](https://filezilla-project.org/),
    connect to your WordPress site directory on your server.
 3. In the **unzipped files**, copy the **accordion-block-lite** folder and paste on
    your server, in your site’s **wp-content/plugins** folder.
 4. Login to your WordPress site at **domain.com/wp-admin**, where **domain.com** is
    the domain of your WordPress site.
 5. On the **Dashboard** page, in the left menu, click **Plugins**.
 6. On the **Plugins** page, locate **Accordion Block Lite** and click **Activate**.

#### Theme

To install in your theme instead of a plugin:

 1. If you have a **.zip file**, unzip it with archiving software such as [WinZip](https://www.winzip.com/)
    or [Archive Utility](https://apps.apple.com/us/app/archive-utility/id1409613331).
 2. In the **unzipped files**, copy the **accordion-block-lite** folder and paste in
    your site’s theme folder, such as **wp-content/themes/your-theme/inc/accordion-
    block-lite/**, where **your-theme** is your theme folder.
 3. In a **code editor** such as [Visual Studio Code](https://code.visualstudio.com/)
    or [Notepad++](https://notepad-plus-plus.org/), open your theme’s **functions.php**
    file.
 4. In your **functions.php** file, add the path from Step 2, such as **require get_stylesheet_directory().‘/
    inc/accordion-block-lite/accordion-block-lite.php’;**.
 5. Save and close your **functions.php** file.

## FAQ

### What is an accordion?

An accordion is a common UI/UX pattern that can help reduce or condense the amount
of information presented to users.

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.

The term stems from the musical accordion in which sections of the bellows can be
expanded by pulling outward.

To learn more, see [Accordion (Sections With Show/Hide Functionality)](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/).

### How do I install Accordion Block Lite?

Please see **Installation** section.

### How do I add an Accordion block?

 1. Login to your WordPress site at **domain.com/wp-admin**, where **domain.com** is
    the domain of your WordPress site.
 2. On the **Dashboard** page, in the left menu, click **Posts** or **Pages**.
 3. On the **Posts** or **Pages** page, either click **Add New**, search for and/or
    click the desired post or page title.
 4. In the **block editor**, either:
 5.  * Click the block inserter **+** icon in the top toolbar
     * Click the block inserter **+** icon to the right of an empty block, or
     * Click the block inserter **+** icon between blocks
 6. In the block inserter pop-up modal window, search for and/or click **Accordion**
    to add an Accordion block.

### How do I edit an Accordion block?

 1.  Login to your WordPress site at **domain.com/wp-admin**, where **domain.com** 
     is the domain of your WordPress site.
 2.  On the **Dashboard** page, in the left menu, click **Posts** or **Pages**.
 3.  On the **Posts** or **Pages** page, search for and/or click the desired post or
     page title.
 4.  In the **block editor**, click the desired **Accordion** block.
 5.  To edit the whole **Accordion** block:
 6.   a. In the block toolbar above, click the **Accordion** icon, select the desired 
         position, block alignment, text formatting and/or other options.
      b. In the settings sidebar, in the **Block** tab:
      c.  * In the **Settings** tab, select the desired **Header Element**, **Header Icon**
            and/or **Header Icon Position** settings.
          * In the **Styles** tab, select the desired **Color**, **Typography**, **Dimensions**
            and/or **Border** settings.
 7.  To edit an **Accordion Item** within the Accordion block:
 8.   a. Click the desired **Accordion Item** title and/or panel to edit.
      b. In the block toolbar above, select the desired position, text alignment, text
         formatting and/or other options.
      c. In the settings sidebar, in the **Block** tab, select the desired **Color**, **
         Typography**, **Dimensions** and/or **Advanced** settings.
 9.  To add an **Accordion Item**, click the **+** button below the Accordion block.

### How do I setup a development environment?

 1. Install WordPress on a local server such as [Local](https://localwp.com/), [Docker](https://www.docker.com/),
    [MAMP](https://www.mamp.info/) or [XAMPP](https://www.apachefriends.org/).
 2. To install Accordion Block Lite on your local site, see **Installation** section.
 3. If node.js is not already installed locally, go to [https://nodejs.org/](https://nodejs.org/)
    to install.
 4. In a **Command Line Interface (CLI)** such as Command Prompt or Terminal, navigate
    to the **accordion-block-lite** folder. For example, **cd localhost/your-site/wp-
    content/plugins/accordion-block-lite**.
 5. To install project dependencies, type **npm install**.
 6. In the **accordion-block-lite** folder, edit the desired file or files.
 7. To create or update the production **build** directory, type **npm run build**.
    For other commands, type **npm run**.

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“Accordion Block Lite”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에
기여하였습니다.

기여자

 *   [ Troy Templeman ](https://profiles.wordpress.org/troytempleman/)

[자국어로 “Accordion Block Lite”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/accordion-block-lite)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/accordion-block-lite/)
는, [SVN 저장소](https://plugins.svn.wordpress.org/accordion-block-lite/)를 확인하시거나,
[개발 기록](https://plugins.trac.wordpress.org/log/accordion-block-lite/)을 [RSS](https://plugins.trac.wordpress.org/log/accordion-block-lite/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 0.1.2 – September 22, 2024

 * Updated: Version in `accordion-block-lite.php` and `package.json`.
 * Updated: Tags, stable tag and changelog in `readme.md` and `readme.txt`.
 * Updated: Version and keywords in `build/accordion/block.json`, `build/accordion-
   item/block.json`, `src/accordion/block.json`, and `src/accordion-item/block.json`.

#### 0.1.1 – April 2, 2024

 * Added: Code to prevent direct file access in `build/accordion/render.php`, `build/
   accordion-item/render.php`, `src/accordion/render.php`, and `src/accordion-item/
   render.php`.
 * Added: Security improvement by adding `wp_kses_post` filter to `$block_content`
   in `build/accordion/render.php`, `build/accordion-item/render.php`, `src/accordion/
   render.php`, and `src/accordion-item/render.php`.
 * Updated: Version in `accordion-block-lite.php` and `package.json`.
 * Updated: Stable tag and changelog in `readme.md` and `readme.txt`.
 * Updated: Version in `build/accordion/block.json`, `build/accordion-item/block.
   json`, `src/accordion/block.json`, and `src/accordion-item/block.json`.

#### 0.1.0 – November 15, 2023

 * Initial release

## 기초

 *  버전 **0.1.2**
 *  최근 업데이트: **2년 전**
 *  활성화된 설치 **400+**
 *  워드프레스 버전 ** 6.0 또는 그 이상 **
 *  다음까지 시험됨: **6.6.10**
 *  PHP 버전 ** 7.0 또는 그 이상 **
 *  언어
 * [English (US)](https://wordpress.org/plugins/accordion-block-lite/)
 * 태그:
 * [accessible](https://ko.wordpress.org/plugins/tags/accessible/)[Accordion](https://ko.wordpress.org/plugins/tags/accordion/)
   [block](https://ko.wordpress.org/plugins/tags/block/)[responsive](https://ko.wordpress.org/plugins/tags/responsive/)
 *  [고급 보기](https://ko.wordpress.org/plugins/accordion-block-lite/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/accordion-block-lite/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/accordion-block-lite/reviews/)

## 기여자

 *   [ Troy Templeman ](https://profiles.wordpress.org/troytempleman/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/accordion-block-lite/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](https://www.buymeacoffee.com/troytempleman)