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.

Screenshots

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

தொகுப்புகள்

This plugin provides 1 block.

  • 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.

Reviews

There are no reviews for this plugin.

பங்களிப்பாளர்கள் & உருவாக்குனர்கள்

“Toggles” is open source software. The following people have contributed to this plugin.

பங்களிப்பாளர்கள்

Translate “Toggles” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release.