Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. inability to upload .ttf fonts to media library

inability to upload .ttf fonts to media library

Scheduled Pinned Locked Moved Bug Reports
4 Posts 3 Posters 176 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    acsgaffney
    wrote on last edited by
    #1

    I seem to be unable to upload .ttf or .otf filetype fonts to the media library. Each time I try, I receive the following message:

    Screen Shot 2020-11-16 at 11.55.38 AM.png

    .woff and .woff2 fonts upload fine, however converting each and every font file I have to these formats is beyond my time and the filesize limit of most conversion sites. please advise.

    using Lay Theme on Firefox 82.0.3 (64-bit) on macOS Mojave 10.14.6

    website: http://www.angusgaffney.com/about

    1 Reply Last reply
    0
    • RichardR Offline
      RichardR Offline
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear @acsgaffney

      What happens when you upload it as a .zip file? do you have the same issue? :)

      Best
      Richard

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rocked23
        wrote on last edited by
        #3

        Hey @acsgaffney & @Richard-Keith

        I had the same issue and found a solution somewhere on the internet. What helped at my page was:

        • open the wp-config.php

        • navigate to

        $table_prefix = 'xyz_';
        
        /**
         * Für Entwickler: Der WordPress-Debug-Modus.
        
        • add the following in between
        define('ALLOW_UNFILTERED_UPLOADS', true);
        
        • so it looks like this:
        $table_prefix = 'xyz_';
        
        define('ALLOW_UNFILTERED_UPLOADS', true);
        
        /**
         * Für Entwickler: Der WordPress-Debug-Modus.
        
        • then, I could upload the .ttf file.

        After uploading the .ttf, I deleted this line again from the config file, as I am not sure, if this will lead to any other security-related-issues on the Wordpress site...

        Greetings from Cologne
        Alex

        1 Reply Last reply
        0
        • RichardR Offline
          RichardR Offline
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Dear Alex @rocked23

          Thankyou for posting! :)

          Best
          Richard

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          💿 Email me here: 💿
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

          This often solves issues you might run into

          When you post:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          M
          MATTOFIRE
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search