Home Forums WoodMart support forum Unable To Upload Custom Font Via Theme Settings

Unable To Upload Custom Font Via Theme Settings

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #278706

    ATD316
    Participant

    Hi – Can anyone please let me know how to upload and install a custom font in WoodMart via “Theme Settings” -> “Typography” -> “Custom Fonts”?

    Any time I try to upload either a “.woff” or “.woff2” file, I receive an error message stating “Sorry, this file type is not permitted for security reasons.”

    How are we supposed to add a custom font if the only upload option via Woodmart is a .woff/.woff2 file but those files aren’t permitted?

    Thank you!

    #278727

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    In case you see “This file type cannot be uploaded due to security reasons.” Then follow the below steps:

    1. Add this line to the wp-config.php file: define( ‘ALLOW_UNFILTERED_UPLOADS’, true );

    2. Upload all font files formats

    3. Remove this line from wp-config.php file

    Best Regards

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)