Setting Up Custom Font

564
  1. To Convert your font to web friendly format, go to transfonter.org and upload your font file (.ttf or .otf format). Click the Convert button and after conversion process are done. Click the “Download” button.
  2. Extract the zip file that you just downloaded. You will find 3 files inside it. 1 ttf file, 1 eot file and 1 woff file.
  3. Go to Customize > Miscellaneous > Custom Fonts and upload all the files to their respective fields and then click the activate button.

 

You can now access your font under font from these places:

  1. Customize > Basic > Basic Fonts.
  2. Customize > Header > Site Title & Logo > Site Title Font
  3. Inside the Editor Click the “Font Select” dropdown list to access the custom font and apply to any text inside the editor.

 

If  you get Error: Sorry, this file type is not permitted for security reasons:

If you cannot upload the ttf file you can enable it by following any of these methods:

Fix Method 1:

Just install this plugin: https://wordpress.org/plugins/disable-real-mime-check/ and then try uploading the ttf files. After uploading the files, disable the plugin.

 

Fix Method 2 :

You can enable ttf file uploading by adding this line to your wp-config.php file:

define('ALLOW_UNFILTERED_UPLOADS', true);

After uploading the ttf files, please remove the line.

 

Fix Method 3:

If you are not sure how to edit the wp-config file, please install this plugin: https://wordpress.org/plugins/wp-config-file-editor/ and from the Security tab, enable “Allow Unfiltered Uploads”. Then upload the ttf file and after uploading, you can disable that option and deactivate the plugin.