Joy
(@joyously)
You can use the Lord of the Files plugin: https://wordpress.org/plugins/blob-mimes/
I’m intrigued by the ‘Lord of Files’ plugin.
Nope – thanks though. It didn’t do the trick.
Joy
(@joyously)
That plugin usually does the trick, but the plugin author @blobfolio is good at determining if the file is the problem.
Hi @blur702,
WordPress sites have an explicit whitelist of allowed file types which can be uploaded through the Media Library. Lord of the Files helps WordPress figure out what type of file a file actually is (so it can be checked against the whitelist correctly), but does not actually alter the whitelist itself.
Font files are not part of the default whitelist, so as a first step, you need to add entries for TTF, WOFF, WOFF2, etc.
Allowed file types/extensions can be added or removed by using the upload_mimes filter hook. (That’s just part of vanilla WordPress; no plugins required.)
If you yourself are not a programmer or able to add custom code to your site, you could try a plugin like https://wordpress.org/plugins/wp-add-mime-types/ to help get them added for you.