Last active
December 18, 2015 07:29
-
-
Save amdrew/5747046 to your computer and use it in GitHub Desktop.
Allows you to add more fonts to Shop Front's typography plugin
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
function shopfront_child_theme_site_title_fonts( $fonts ) { | |
// the font-name must match the google font name exactly as shown on https://edgewebfonts.adobe.com/fonts | |
$fonts['pt-sans'] = 'PT Sans'; | |
$fonts['droid-sans'] = 'Droid Sans'; | |
return $fonts; | |
} | |
add_filter( 'shopfront_typography_site_title_fonts', 'shopfront_child_theme_site_title_fonts' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment