Popis
This plugin adds a block to the editor allowing you to easily show and hide content using the HTML details
and summary
elements. It can be used for content such as FAQs or accordions.
It uses built-in browser functionality and doesn’t rely on any JavaScript. Styling is customizable via the editor or custom CSS.
Snímky obrazovky
Bloky
Tento plugin poskytuje 1 blok.
- Details: Show and Hide A block for showing and hiding content.
Instalace
- Upload the plugin files to the
/wp-content/plugins/wp-details-block
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‚Plugins‘ screen in WordPress
- Start adding content.
Nejčastější dotazy
-
How do I customize the styling?
-
The wrapper
<details>
element has the class.wp-block-bm-wp-details-container
that you can use to target it and adjust styling as needed.The
<summary>
element has the class.wp-block-bm-wp-details-block
. -
Where can I learn more about browser support?
-
Details is supported in most major browsers (Chrome, Firefox, and Safari). Caniuse.com has a breakdown of browser support for the details element.
Recenze
Pro tento plugin nejsou žádné recenze.
Autoři
Details: Show and Hide je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.
SpolupracovníciPřeložte “Details: Show and Hide” do svého jazyka.
Zajímá vás vývoj?
Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.
Přehled změn
1.0
- Initial release