Home Forums WoodMart support forum Add new custom font by files upload

Add new custom font by files upload

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #177795

    nvybvl
    Participant

    Hello,

    I would like to know how can I upload custom fonts in this section because wordpress doesn’t let you upload file extensions like .ttf, .woff, just .svg with svg plugin active.

    /wp-admin/admin.php?page=xtemos_options&tab=typography_section

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #177797

    nvybvl
    Participant
    #177807

    nvybvl
    Participant

    The problem is that wordpress dont allow me to upload such formats

    #177814

    Hello,

    Do you have a security problem? Please provide the screen of the notification when you upload the fonts.

    Best Regards

    #177870

    nvybvl
    Participant

    original-aboutlove.ttf
    Sorry, this file type is not permitted for security reasons.
    aboutlove.woff2
    Sorry, this file type is not permitted for security reasons.
    aboutlove.woff
    Sorry, this file type is not permitted for security reasons.
    aboutlove.ttf
    Sorry, this file type is not permitted for security reasons.

    #177875

    Hello,

    Follow the below steps:

    1. Add this line to the wp-config.php file: define( ‘ALLOW_UNFILTERED_UPLOADS’, true );
    2. Upload all files formats
    3. Remove this line from wp-config.php file

    Best Regards.

    #177920

    nvybvl
    Participant

    Thanks

    #177943

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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