"Twenty Twelve" theme – Google font API error
-
I am using the Twenty Twelve WordPress theme with no code modifications.
The following line exists in my site header:
<link rel='stylesheet' id='twentytwelve-fonts-css' href='https://fonts.googleapis.com/css' type='text/css' media='all' />(http <-> https depends on whether my site is being accessed via SSL, but the below issue occurs regardless of the protocol.)
However, when the site attempts to load this resource, it receives an “HTTP 400 (Bad Request)” error – you will too if you try to access “https://fonts.googleapis.com/css” using a web browser.
From a brief look at the code and the Google Font API documentation, it looks like the theme is not specifying a font family (e.g. “http://fonts.googleapis.com/css?family=Tangerine” is specified here. Is this an issue with me not setting this option somewhere? I’m not aware of changing any settings of this type.
The topic ‘"Twenty Twelve" theme – Google font API error’ is closed to new replies.