Block Styles

Change the way styles for blocks get loaded, optimize your site's performance and sustainability!

Author:Ari Stathopoulos (@aristath) (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:5.4.15
Plugin version:1.0.1
Added to WordPress repository:12-06-2020
Last updated:17-07-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:1 447
plugin download
Click to start download

Increase the performance of your website by removing the default styles for WordPress-Core blocks, and only enqueue styles for the blocks you use on a page.

You can choose to add styles on the head of your pages, on the footer, inline only when the block exists, or even completely disable styles. And all of that, per-block!

IMPORTANT: Depending on how your theme overrides default styles – if it even does, you may see issues due to the loading order of CSS files, or insufficient specificity from the theme’s CSS rules.
We urge you to experiment with the options for blocks and find what suits your use-case better.