Last active
December 25, 2021 06:41
-
-
Save landbryo/206d1b4c6e462295cf8e7f4e381097d3 to your computer and use it in GitHub Desktop.
Adds content font to be used in Enfold options.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////// | |
// ADD NEW GOOGLE FONTS TO ENFOLD // | |
//////////////////////////////////// | |
add_filter( 'avf_google_content_font', 'add_content_font'); | |
function add_content_font($fonts) | |
{ | |
$fonts['Crimson Text'] = 'Crimson Text:400,400i,700,700i'; | |
return $fonts; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment