Home Forums WoodMart support forum Can't load custom fonts

Can't load custom fonts

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #297446

    Nathamejia
    Participant

    can’t load custom fonts

    It says that this type of file is not allowed for security reasons.

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

    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

    Best Regards

    #297483

    Nathamejia
    Participant

    Add the line Editing the WordPress wp-config.php with the cPanel File Manager, but I still get the same error
    —-
    Agregue la linea Editando el wp-config.php de WordPress con el File Manager de cPanel, pero me sigue saliendo el mismo error

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

    Hello,

    Please contact your host support on this issue our theme does not influence.

    Best Regards

    #298985

    Nathamejia
    Participant

    They informed me that the code was wrong so it did not work, the correct code is:
    define( ‘ALLOW_UNFILTERED_UPLOADS’, true );
    and I was able to upload the custom fonts.
    ————–
    Me informaron que el codigo estaba incorrecto por eso no funcionaba, el codigo correcto es:
    define( ‘ALLOW_UNFILTERED_UPLOADS’, true );
    y ya pude subir las fuentes personalizadas.

    #299080

    Hello,

    We are glad you have solved the issue.

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

    Best Regards

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