Disabling Google Fonts

If you need to disable the Google Fonts list in the Styling panel (eg. server can not load the fonts or performance issues), you can disable it with the following custom function.

  • Create a child theme and a functions.php file (if it doesn't exist)
  • Paste in the following function:
    // disable Google fonts
    add_action( 'after_setup_theme', 'theme_disable_google_fonts', 1 );
    function theme_disable_google_fonts() {
        define('THEMIFY_GOOGLE_FONTS', false);

Spring Sale - Get 30% off with code SPRING, or $100 off Lifetime Club with code SPRINGLIFE!