Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #828586

    We’d like to know how to entirely remove the ability to select google fonts, and prevent the calling of their CDN/Url in the header. With this, we’d like to substitute our own font that we can load into the directory structure as needed.

    #828828

    Hey onspring,
    The following code in functions.php will remove the Google Fonts inclusion:

    add_action( 'init', 'enfold_customization_switch_fonts' );
    function enfold_customization_switch_fonts() {
        global $avia;
        $avia->style->print_extra_output = false;
    }

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.