-
Author
-
May 29, 2018 at 05:44 #199251gm713Participant
Hi. I am loading all my fonts from my local server, and DO NOT wish to utilize google fonts at all. Here’s everything that I have done to ensure that.
- Cleared out all Font Family calls from Theme Options > Fonts (see attached)
- Defined font styles in Child Theme’s style.css (see attached)
- Stored fonts on local server, and calling it via child themes style.css
- Ensured no custom code is calling google fonts APIs
Despite of doing all of this, calls are being made to google font apis (See attached).
I believe there is a “save” bug in the Settings> Google Fonts module. It is impossible to turn off/disable all the fonts. last font unless you turn on some other font. Hit Enabled filter to reveal the rogue font.
Can you please add a “Save” button so the last font can be turned off.
Attachments:
You must be logged in to view attached files.May 29, 2018 at 22:30 #199317LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
May 30, 2018 at 16:25 #199386RaduModeratorHi,
Setting all fonts under wp-admin -> theme options -> fonts -> standart fonts will make no google apis call
Can you set them like that and test ? Also can you please provide admin credentials to take a closer look ?(private reply)
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 4, 2018 at 18:23 #199881RaduModeratorHi,
The fonts are loaded by a plugin or something cuz i saw them loaded into page even i’m using other theme.
So de-activate all plugins and check
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 5, 2018 at 15:10 #199961gm713ParticipantFair enough, but there are 2 calls in the fonts. One of them is from Kleo.
Try this on your own build of Kleo:
- Go to Settings>Google Web Fonts.
- Now turn on at least 2 Google Web Fonts.
- Go to Dashboard
- Come back to Settings> Google Web Fonts
- Try to turn off all the Google Web Fonts you enabled earlier
- It appears as if they’re turned off
- Go back to the Dashboard
- Come back to Settings> Google Web Fonts
- Click on Enabled button, to reveal the rogue font which doesn’t turn off
June 6, 2018 at 16:14 #200079RaduModeratorHi,
Not sure why to do that, just set all fonts at once a non-google font and they are no mor calling google as my in screenshot.
As alternative you can uset his code
COPY CODE/* Deqeue the google fonts */ function sq7r_deque_kleo_gogole_fonts() { if( function_exists('bp_is_active') && !bp_is_members_component()) { wp_deregister_style('kleo-google-fonts', $google_link, array(), '', 'all' ); wp_dequeue_style('kleo-google-fonts'); } } add_action('wp_enqueue_scripts', 'sq7r_deque_kleo_gogole_fonts',999);
Add it to wp-content/themes/kleo-child/functions.php
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionJune 7, 2018 at 18:42 #200247RaduModeratorGreat
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 7, 2018 at 18:42 #200248RaduModeratorGreat
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.