Toggles

설명

You can use this block to hide and reveal content as needed. Create FAQ pages, hide spoilers in posts, or create simple accordion elements.

The block uses <details> and <summary> HTML elements and doesn’t require any additional JavaScript or CSS on the theme side.

스크린샷

  • The block with no styles.
  • The block with custom styling.
  • Block Editor.

블록

이 플러그인은 1(을)를 제공합니다.

  • Toggles An easy way to hide and reveal content.

FAQ

Want to change default styles?

You can add some basic styling with just a few lines of CSS. Example:

.wp-block-toggles {
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    margin: 1.5rem 0;
    padding: 0.5rem 1rem;
}

.wp-block-toggles summary {
    cursor: pointer;
}

Want to report a bug?

Create an issue at the Mamaduka/toggles repo.

후기

2023년 8월 11일
A simple, clean solution for Toggles everything! It increases creativity in content design by 377%! No, really, simple does not mean boring! A basic tool to rethink design without installing bloated graphics plugins.I feel lucky I found it. Many thanks!
2023년 3월 4일 1 reply
You know how you spend 3 days installing and uninstalling plugin after plugin trying to do the simplest task? Changing themes, chasing promises, getting befuddled, exhausted, frustrated and disappointed. Well that is my story with toggles until I found this gem. Looks great, works great, saves time and effort. Reliable and covers all the essential bases. Love it! 10 stars! Thank you!!!
2022년 10월 30일 1 reply
Awesome plugin. I use it to add simple, minimalistic toggles that show/hide additional info on my site. Thank you!
모든 4 평가 읽기

기여자 & 개발자

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

기여자

자국어로 “Toggles”(을)를 번역하세요.

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

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.1.0 – 2023-06-17

  • Bumped minimum required WordPress version to 6.1.
  • Fixes an error when selecting deeply nested inner blocks.
  • Block support enhancements.

1.0.1 – 2022-02-14

  • Bumped minimum required WordPress version to 5.8.
  • Pass component to renderAppender.

1.0.0 – 2021-02-05

  • Initial release.