Tagged: webfonts
Hi, is it possible to have a custom web font present in the Theme Options various places where we can choose a font?
I’ve seen several tickets on adding more Google Fonts, but in this case i want to add a custom font.
This would be great to include as a feature.
Thanks
Hey helderluis,
Please refer to this link http://wpsites.net/web-design/fonts-wordpress/
or if you like to add a single font an alternate solution is to use a plugin like https://wordpress.org/plugins/use-any-font/
Best regards,
Jordan Shannon
Hi Jordan, maybe i explain me wrong…
I want to be able to use at least 2 custom web fonts in the the Enfold Theme Options.
I’ve seen several functions for Google Fonts that one could include in the child theme functions.php file but not for custom fonts.
add_action( 'wp_enqueue_scripts', 'wpsites_google_fonts' );
function wpsites_google_fonts() {
wp_enqueue_style( 'gfonts', '//fonts.googleapis.com/css?family=Oswald|Open+Sans', array(), CHILD_THEME_VERSION );
}
Can you help me on that?