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

  • FreePBX 17 How To Add a Trunk
  • Docker Container Onboot Policy - How to make sure a container is always running
  • FreePBX 17 How To Add Phones / Extensions and Register
  • Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. solution
  • Cisco How To Use a Third Party SIP Phone (eg. Avaya, 3CX)
  • 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 17 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