وەسف
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.
بڵۆکەکان
ئەم پێوەکراوە 1 بڵۆک دابین دەکات.
- Toggles An easy way to hide and reveal content.
پهد
-
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.
پێداچوونەوەکان
بەشداربووان و گەشەپێدەران
“Toggles” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.
بەشداربووان“Toggles” وەرگێڕدراوە بۆ 1 زمان. سوپاسی وەرگێڕەکان دەکەین بۆ بەشداریکردنیان.
“Toggles” وەربگێڕە بۆ زمانەکەی خۆت.
دەتەوێت بەشداربیت لە گەشەپێدان؟
گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).
ڕووداوتۆمارگەریی گۆڕین
1.1.1 – 2024-07-16
- Bumped minimum required WordPress version to 6.4.
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.


