Still shows “https://fonts.googleapis.com/” in Source Code on Page
-
Hey Team,
we are using your Plugin “Disable & Remove Google Fonts” and also have these filters in our child theme (“Astra”):
add_filter( 'astra_google_fonts_selected', '__return_empty_array' ); add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );but it still shows us these two “https://fonts.googleapis.com/” in our Source Code:
1.
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Serif:400,400i,700,700i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese&display=swap">2.
<script consent-skip-blocker="1" data-skip-lazy-load="js-extra"> (function () { // Web Font Loader compatibility (https://github.com/typekit/webfontloader) var modules = { typekit: "https://use.typekit.net", google: "https://fonts.googleapis.com/" }; var load = function (config) { setTimeout(function () { var a = window.consentApi; // Only when blocker is active if (a) { // Iterate all modules and handle in a single <code>WebFont.load</code> Object.keys(modules).forEach(function (module) { var newConfigWithoutOtherModules = JSON.parse( JSON.stringify(config) ); Object.keys(modules).forEach(function (toRemove) { if (toRemove !== module) { delete newConfigWithoutOtherModules[toRemove]; } }); if (newConfigWithoutOtherModules[module]) { a.unblock(modules[module]).then(function () { var originalLoad = window.WebFont.load; if (originalLoad !== load) { originalLoad(newConfigWithoutOtherModules); } }); } }); } }, 0); }; if (!window.WebFont) { window.WebFont = { load: load }; } })(); </script>Could you help us with that problem?
Our Page:
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Still shows “https://fonts.googleapis.com/” in Source Code on Page’ is closed to new replies.