How to disable Google Fonts in Wordpress

edit theme css:

Click "Appearance -> Editor -> Stylesheet"

http://yourblog.com/wp-admin/theme-editor.php?file=style.css&theme=twentysixteen

textarea {
    color: #1a1a1a;
    /*font-family: Merriweather, Georgia, serif;*/
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif





line 210


edit wp-content/themes/twentysixteen/functions.php

        //return $fonts_url;
        return 0;

#another problem is that in the code this shows up still:
<link rel='stylesheet' id='open-sans-css'  href='https://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&#038;subset=latin%2Clatin-ext&#038;ver=4.4.11' type='text/css' media='all' />


edit wp-includes/script-loader.php
line 708:


                $open_sans_font_url = "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
                $open_sans_font_url = "";


Tags:

disable, google, fonts, wordpressedit, css, quot, stylesheet, http, yourblog, wp, admin, php, twentysixteen, textarea, font, merriweather, georgia, serif, lucida, sans, unicode, grande, edit, content, themes, functions, fonts_url, rel, href, https, googleapis, italic, subset, latin, clatin, ext, ver, text, includes, loader, open_sans_font_url, subsets,

Latest Articles

  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist
  • How to Install Any OS on a Physical Drive from Windows Using VMware Workstation (Linux, Windows, BSD)
  • CDN Cloudflare how to set and preserve the real IP of the client without modifying application code on Apache
  • CentOS 7 fix Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was 14: curl#6 -
  • Ubuntu Debian How To Install Recommended Packages Automatically
  • How to set Linux Ubuntu Redhat Debian Command Line http https socks proxy for yum apt