Useful Block Styles WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Simple block styles you frequently need for the WordPress Block Editor
★ 4stars
v0.3.1latest · 3 years ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mrwweb/useful-block-styles/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Intentions
- Provide super common block styles for text-related blocks that you'd want on 90%+ of sites you build.
- Put this in the plugin repository for push updates to any site.
Block Styles So Far
- Heading
- Screen Reader Text
- List Block
- No Markers
- Responsive Multiple Columns
- Responsive Multiple Columns without Markers
- File Block
- Button Only
- Gallery Block
- Not Stretched
- Centered Not Stretched
- Small Logos
- Small Grayscale Logos
Initial Decisions
All decisions up for discussion!
- No options but a filter (
wpsea_block_styles) to allow hiding block styles. - Totally separate front-end and editor styles. They will have to be different frequently enough that we might as well always make them different for clarity.
- Use
!importanton everything. These are utility classes and should essentially never be overridden.- Use as few selectors as possible to make these styles relatively easy to override if you have to.
- No build process. The styles should be so minimal that nesting and variables likely don't provide enough value to warrant overhead.
- This plugin will use semver
Tested so far
- Twenty Twenty
- Twenty Twenty One
- Michelle
Other Ideas for Consideration
- Looking forward to more!
Contribution
See CONTRIBUTING.md
tl;dr - Open an issue before a PR.
Releases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.