Dear support,
I’ve been trying to fix any issues on my site that show up on GTMetrix, and one of the issues shows to avoid URL redirects. When I clicked to see what URLs it was talking about, it showed that this:
https://fonts.gstatic.com
https://googleads.g.doubleclick.net
https://s.ytimg.com
https://static.doubleclick.net
https://www.google.com
I am loading the google fonts of my own server and deactivated google font loading in functions.phph:
add_action( ‘init’, ‘enfold_customization_switch_fonts’ );
function enfold_customization_switch_fonts() {
global $avia;
$avia->style->print_extra_output = false;
}
I also deactivated all plugins, nothing changed. After switching to the wordpress default theme the calls to the google sides were gone. Do you have an idea what is happening here?
Hey dondela,
Thanks for the login details, I think those calls are due to the Youtube video you are using as a background on the front page. What happens if you remove the background video?
Best regards,
Rikard
Hey Rikard,
you are right, after removing the youtube video there are no more calls to google. You know a way to include the Video without connecting to google?
Thanks dondela
Thanks for that tip :-)
I managed to host the video locally as a mp4 file but it doesn´t show up as a background video now? I posted the link of the private content as backgound video. Is this not the right format?
After the recent theme update it works like expected :-)