Skip to content

If you’ve used the Essential Grid plugin lately, you’ve likely noticed that the “Punch Fonts” module is a bit buggy and automatically re-activates three default fonts every time that the EG plugin is reactivated (and/or updated depending on how you run updates). We grew tired of keeping an eye out for these unnecessary fonts being loaded and decided to hide the Punch Fonts page entirely using Admin Menu Editor and force the three default fonts (Open Sans, Raleway, Droid Serif) to stay off the site with the following snippet. We recommend adding this code to a custom site functionality plugin, but it can also be added to a child theme’s functions.php file.

////////////////////////////////////////////////////////////
// deregister default punch fonts
////////////////////////////////////////////////////////////
add_action( 'wp_print_styles', 'rzf_deregister_punch', 100 );
function rzf_deregister_punch() {
	wp_deregister_style( 'tp-open-sans' );
	wp_deregister_style( 'tp-raleway' );
	wp_deregister_style( 'tp-droid-serif' );
}

Max Elman is Razorfrog's Founder and Project Manager. He is a tech-savvy internet guru and has led Razorfrog's award-winning web design team since 2008. View Max's bio for more details.

Toggle light/dark mode

Back To Top