[Resolved] Question about format on selfhosted fonts

Home Forums Support [Resolved] Question about format on selfhosted fonts

Home Forums Support Question about format on selfhosted fonts

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #1547003
    Elvin
    Staff
    Customer Support

    But when I try to upload the fonts y get this problem: “lato-v17-latin-italic.ttf” has failed to upload.
    Sorry, this file type is not permitted for security reasons”
    It only happens with the .ttf extension.

    By default, WordPress doesn’t allow all types of files to be uploaded. (.svg, .ttf, etc)

    You’ll have to set your site to allow upload for these files.

    You can do that by either installing a plugin, setting ALLOW_UNFILTERED_UPLOADS to true on wp-config.php or adding a PHP snippet like this one:
    https://gist.github.com/jamesdixon/8ee2f09557d4e2bd7c09

    #1572991
    Sebastian

    Ok, finally got it

    Thanks!

    #1573669
    Elvin
    Staff
    Customer Support

    Nice one. No problem. 😀

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.