Skip to content

Disable default Punch Fonts from Essential Grid plugin

If you’ve used the Essential Grid (opens in a new tab) 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 (opens in a new tab) 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 (opens in a new tab), but it can also be added to a child theme’s functions.php file.

https://gist.github.com/razorfrog/937305456d4961d846fac8ffbb99ed08

Categories: Code
A black silhouette of a frog viewed from above, showing its outstretched legs and toes.
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Please visit our privacy policy for more information regarding the personally identifiable information we collect and how it is used.