承接 lighthouseuk/wp-gcb-block-asset-tweaks 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Latest Stable Version

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 filemtime for 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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-13