hi
i want to disable the connection to googleleapis because it slow down the web a lot while working on it.
so would u please tell me what files include the below:
ajax.googleapis.com
fonts.googleapis.com
thanks a lot
Hi,
Go to Enfold > General Styling > Fonts and select a non-google font for the headings and body.
Regards,
Josue
Hi, Josue
i like fonts and ajax that google offers.
i have other ways to replace, not just simply disable it.
so to tell me what files include them would be helping.
thanks
chris
Hey!
Please go to Enfold/framework/php folder and open class-style-generator.php file and remove ‘link_google_font’ and ‘print_extra_output’ functions
Cheers!
Yigit
Hi,
Is it a way to remove this part of file (I mean ‘link_google_font’ from class-style-generator.ph) and this deletion persist in later updates?
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
add_action( 'init', 'enfold_customization_switch_fonts' );
function enfold_customization_switch_fonts() {
global $avia;
$avia->style->print_extra_output = false;
}
Cheers!
Josue
It’s cool! :)