Home Forums Basel – Premium Template Custom font upload

This topic contains 4 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 1 month, 3 weeks ago.

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

    konifez
    Customer

    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
    Customer

    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
    Customer

    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)

You must be logged in to reply to this topic.