How to Update Google Fonts List Available in Customizer

There are more than 800 Google fonts available for use today and some of them are already included to your theme settings. But what if some new font is created and you decide to add it to the site settings?
This tutorial will show you how to update Google Fonts list in WordPress Customizer:

zemez wordpress themes
  1. Firstly, you need to generate the Google API key. To do this, open the following site.
  2. Click on a Get a Key button under the Acquiring and using an API key title. Update Google Fonts List
  3. Select an already existing project and click the Enable API button. Update Google Fonts List
  4. If there are no projects created yet, do the following:
    1. Choose Create a project option in the drop-down.
    2. Enter its title.
    3. Then, click on the Create and enable API to generate a key. Update Google Fonts List
  5. Replace YOUR-API-KEY with the key you generated earlier.
  6. Now you need to save this code as google.json file. To save it, use CTRL+S hotkeys on your keyboard. Make sure your file name is google.json.
  7. Connect to your server using FTP client or open the hosting cPanel File Manager tool. Navigate to the wp-content/themes/theme_name/cherry-framework/modules/cherry-customizer/assets/fonts folder (here theme_name stands for your actual theme name).
  8. Upload the google.json file to this directory confirming the overwrite. Update Google Fonts List Update Google Fonts List
  9. Open the Appearance > Themes section in your WordPress dashboard. Activate any default WordPress theme and then re-active the theme you use. Update Google Fonts List
  10. Refresh the Appearance > Customize page (you can use CTRL+F5/CMD+R hotkeys to do that) and you will see the updated Google fonts list now. 

Now you know how to update the list of Google fonts. More tutorials are coming soon!

monster one