Hi Themeco,
I would like to remove all Google Font references from the Theme, because i uploaded the fonts to my own server.
It’s about this one:
I already read the topics about this on the forum and added this:
// Deregister X Google Fonts //
add_action( ‘wp_print_styles’, ‘my_deregister_styles’, 100 );
function my_deregister_styles() {
wp_deregister_style( ‘x-google-fonts’ );
wp_deregister_style( ‘hstl-roboto’ );
wp_deregister_style( ‘hstl-opensans’ );
wp_dequeue_style(‘hstl-roboto’);
wp_dequeue_style(‘hstl-opensans’);
wp_dequeue_style( ‘x-font-custom’ );
wp_dequeue_style( ‘x-font-standard’ );
}
Can you help me? Thanks!
- Menno