Block Styles
开发者 |
aristath
|
更新时间 |
2020年7月17日 22:20 |
捐献地址: |
去捐款 |
PHP版本: |
5.6 及以上 |
WordPress版本: |
5.4 |
版权: |
MIT |
详情介绍:
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.