Home Forums Basel support forum Custom font upload

Custom font upload

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #118878

    konifez
    Participant

    Hi everybody,

    I tried to upload a custom font (DIN) according to this instruction: https://xtemos.com/docs/woodmart/faq-guides/upload-custom-fonts/ When uploading the font files to WordPress, there is an error saying “This file type is not allowed for security reasons.“ How can I solve this issue?

    Thanks and best regards,
    Florian

    #118899

    Hello,

    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

    #121077

    konifez
    Participant

    Hello Elise, I tried add the line to the config-file but it didn’t work. It said: “Parse error: syntax error, unexpected ‘&’ in /var/www/web100/html/wp-config.php on line 110“
    What do I have to change?
    Thanks and best regards,
    Florian

    #121079

    konifez
    Participant

    Now it works, thanks again!

    #121097

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

    Best Regards

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