Descripción
By default, WordPress only allows selecting a single block style variation at a time. Smartlogix Multi Block Styles removes this limitation, letting you toggle multiple styles on any block that supports them.
The plugin replaces the default single-select styles panel in the block inspector with a multi-select version. The panel looks and works exactly like the original — same position, same appearance — but each style button now acts as a toggle instead of a radio button.
How it works:
- Each style button toggles its corresponding
is-style-*class on or off - Multiple styles can be active simultaneously
- The «Default» button clears all active styles
- Works with any block that has registered style variations (Button, Image, Separator, Quote, Table, and any custom blocks)
Use cases:
- Combine visual treatments — apply both a shadow style and a rounded style to the same block
- Layer theme-defined styles for more design flexibility without writing custom CSS
- Build composable style systems where each style controls one visual property
Instalación
- Upload the
multi-block-stylesfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Open the block editor and select any block with style variations — the styles panel now supports multi-select.
FAQ
-
Which blocks does this work with?
-
Any block that has registered style variations. Core blocks include Button, Image, Separator, Quote, and Table. It also works with any custom or third-party blocks that register styles.
-
Can I still use just one style at a time?
-
Yes. The toggle behavior is fully backward-compatible. Selecting a single style works the same as before — the only difference is that you can now select additional styles without deselecting the first.
-
What happens if two active styles conflict visually?
-
The last declared style in CSS takes precedence. For best results, design styles to control different properties (e.g., one for borders, another for shadows) so they compose cleanly.
-
Does this change saved content?
-
No. Block styles are stored as CSS classes in the block’s
classNameattribute, which is a standard string. Multipleis-style-*classes have always been valid HTML — WordPress just didn’t provide a UI to select more than one.
Reseñas
No hay valoraciones para este plugin.
Colaboradores y desarrolladores
«Smartlogix Multi Block Styles» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «Smartlogix Multi Block Styles» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.0.0
- Initial release.
- Multi-select toggle for block style variations.
- Matches the native styles panel markup and position.
- Works with all blocks that support style variations.