Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

Details: Show and Hide

Περιγραφή

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.

Στιγμιότυπα

  • Collapsed details element with clickable heading.
  • Expanded details element with inner content.
  • Editor view of adding the block and inner content.

Μπλοκς

Αυτό το πρόσθετο παρέχει 1 μπλοκ.

  • Details: Show and Hide A block for showing and hiding content.

Εγκατάσταση

  1. Upload the plugin files to the /wp-content/plugins/wp-details-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. 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” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Σύνοψη αλλαγών

1.0

  • Initial release