定制 peterwilsoncc/wp-fonts-to-uploads 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

peterwilsoncc/wp-fonts-to-uploads

最新稳定版本:1.0.1

Composer 安装命令:

composer require peterwilsoncc/wp-fonts-to-uploads

包简介

A WordPress plugin to relocate the fonts directory to uploads.

README 文档

README

A WordPress plugin to relocate the fonts folder to the uploads directory

WordPress 6.5 introduces a new Font Library feature. By default these new files are stored in the directory wp-content/fonts. This plugin relocates the font files to the wp-content/uploads/fonts instead.

This is to ensure that sites using S3 buckets, file partitions and immutable file systems can make use of the new Font Library feature without the need to refactor their server or duplicate their offloading capacity.

If you find any bugs or wish to contribute a pull request, please do so via the plugin's GitHub repository.

Most sites will not require this plugin as their file system will allow for the new folder to be created and written to. As with most WordPress features, the Font Library will just work! This is for websites with complex and heavily customized hosting environments.

Installation

This plugin is available in the WordPress plugin repository and via the WordPress admin. The simplest way to install it is via the WordPress admin by going to Plugins > Add New Plugin and searching for "Fonts to Uploads"

The plugin is also available via composer:

composer require peterwilsoncc/wp-fonts-to-uploads

The package identifies itself as a wordpress-plugin so will follow your composer project's settings for installing to the WordPress plugins folder.

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: Shell

其他信息

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