Home Forums WoodMart support forum Font files not allow to upload to Media Library

Font files not allow to upload to Media Library

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #362031

    sybilmak
    Participant

    I have tried to follow the instructions for custom fonts, yet seems the media library not allow to upload font type file format. Therefore I can’t use my custom fonts? any solution?

    #362199

    Hello,

    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 IMPORTANT

    Best Regards

    #362223

    sybilmak
    Participant

    Thanks. It works. but need to upload media in classic mode interface 🙂

    #362280

    Hello,

    Please follow the instruction from this manual: https://xtemos.com/docs-topic/how-to-upload-custom-fonts/

    If you have any questions please feel free to contact us.

    Best Regards

Tagged: 

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