IM
Task

Google Fonts / Google Maps

ioan.matia
July 30, 2020 at 5:54 pm

Hello,

we have your WordPress-Theme Soup installed/used and works as expected.
we dont want to use Google-Fonts and Google-Maps, but the CSS/JS Files still loaded on the Website.
How can i disable the Google-Fonts and Google-Maps from the Theme, so those files wont load ?
Which PHP-File should be changed/adjust in order to disable the 2 things?
maybe a function to use into function.php into shoup-child?

best regards

3 Replies

SA
Sajib (Staff)
August 5, 2020 at 11:40 am

Hi there,

You can find the code from the below files,
soup/lib/theme-core-functions/theme-core-functions.php
soup/lib/theme-core-functions/_enqueue-assets.php

Regards,
Sajib

IM
ioan.matia
August 5, 2020 at 2:29 pm

Hello,

can you be more clear what exactly need to be changed into those .PHP Files in order to disable Google-Fonts (Muli) and GoogleMaps script?

In Backend Soup-Options we have no Google-API added and used “Arial” as standard Font. But in Frontend are Google-Fonts loaded (Muli) and GoogleMaps script.

Best Regards

IM
ioan.matia
August 11, 2020 at 2:49 pm

Hello,

can you help us regarding this? where/what exactly need to be changed in those 2 files, in order to disable G-Fonts and G-Maps from loading into frontend page?
best regards

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.