peterwilsoncc/wp-fonts-to-uploads

A WordPress plugin to relocate the fonts directory to uploads.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Language:Shell

Type:wordpress-plugin

1.0.1 2024-03-21 00:35 UTC

This package is auto-updated.

Last update: 2024-04-21 00:48:11 UTC


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.