lighthouseuk/wp-gcb-block-asset-tweaks
最新稳定版本:v1.0.0
Composer 安装命令:
composer require lighthouseuk/wp-gcb-block-asset-tweaks
包简介
WordPress plugin to move Genesis Custom Blocks style includes to <head>.
README 文档
README
This plugin adds some small QoL improvements to Genesis Custom Blocks.
- Moves block styles to
<head>element instead of footer of site. This fixes CLS issues. - Enqueues global block styles in
<head>as a requirement of other blocks. This is different to previous behaviour where the global styles could be enqueued after the block styles. - Uses
filemtimefor block stylesheet versions. Previously this was set to the theme version.
Could be merged into the main plugin - see this issue for more info.
Installing
Require this package as a dependency with Composer.
composer require lighthouseuk/wp-gcb-block-asset-tweaks
TODO
- Register block JavaScript files.
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-13