विवरण
Beginning with WordPress v6.3, a Details Block is included in WordPress. This plugin is no longer needed.
The block allows you to easily show and hide content using built-in browser functionality. It doesn’t load any external JavaScript and relies on native HTML functionality. You can configure the appearance using built-in editor controls.
It uses the HTML details
element to show and hide the content.
स्क्रिनसटहरू
ब्लकहरू
यो प्लगिनले 1 ब्लक उपलब्ध गराउँछ।
- Details: Show and Hide A block for showing and hiding content.
स्थापना
- 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.
प्रश्नोत्तर
-
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.
समीक्षाहरू
यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।
योगदानकर्ता र डेभलपरहरू
“Details: Show and Hide” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Details: Show and Hide” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
1.0.4
- Add deprecation notice
1.0.3
- Deploy from Github
1.0
- Initial release