Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1179824
Adding new font
Closed

Comments

  • Konrad started the conversation

    How can I add a new web font?

    Adding it through Fonts Manager doesn't work, because WordPress doesn't allow me to upload the files except for the WOFF file. But that's not enough.

    I tried adding fonts via FTP and editing the style.css, but it doesn't work either. I'm not even sure where should I upload the fonts on the FTP as I can't locate the folder with the main CSS.

  •  7,122
    Oliver replied

    HI!

    Adding it through Fonts Manager doesn't work, because WordPress doesn't allow me to upload the files except for the WOFF file. But that's not enough.

    What message do you see while uploading font?

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Konrad replied

    "Sorry, this file type is not permitted for security reasons."

  •  7,122

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Konrad replied

    Tried all 4 plugins to do so:

    Mime Types Extended - doesn't even include TTF or OTF as available formats to enable.

    WP Add Mime Types - screenshot attached. It says TTF and OTF are enabled, but it still doesn't work.

    Mime Types Plus - added TTF (I hope it's right), but it doesn't work. Also, I tried adding TTF's mime as 

    application/x-font-ttf

    but it automatically changes it to 

    font/ttf

    Allowed Mimetypes - added TTF, but it doesn't allow me to upload.

  • Konrad replied

    I managed to update my wp-config.php file with:

    define('ALLOW_UNFILTERED_UPLOADS', true);

    It now works via Fonts Manager.


    You can mark this ticket as RESOLVED. Thanks for your help.