Answer the question
In order to leave comments, you need to log in
Why don't Google fonts work in Wordpress on local Xampp server?
I connected the fonts in wordpress in the standard underscores template, using Xampp as a local server.
Fonts connected but not working
<link rel='stylesheet' id='wp-block-library-css' href='http://localhost/broadway1/wp-includes/css/dist/block-library/style.min.css?ver=5.3.2' type='text/css' media='all' />
<link rel='stylesheet' id='humescores-fonts-css' href='https://fonts.googleapis.com/css?family=PT+Serif%3A400%2C400i%2C700%2C700i%7CSource+Sans+Pro%3A400%2C400i%2C600%2C900&display=swap&ver=5.3.2' type='text/css' media='all' />
<link rel='stylesheet' id='humescores-style-css' href='http://localhost/broadway1/wp-content/themes/humescores/style.css?ver=5.3.2' type='text/css' media='all' />
<link rel='https://api.w.org/' href='http://localhost/broadway1/wp-json/' />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost/broadway1/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost/broadway1/wp-includes/wlwmanifest.xml" />
<meta name="generator" content="WordPress 5.3.2" />
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style></head>
<body class="home blog hfeed">
<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question