Error in the code
-
functions.php contains a string https://fonts.googleapis.com/css
Page does not exist. (404 error)$font_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );function twentyfourteen_resource_hints( $urls, $relation_type ) { if ( wp_style_is( 'twentyfourteen-lato', 'queue' ) && 'preconnect' === $relation_type ) { if ( version_compare( $GLOBALS['wp_version'], '4.7-alpha', '>=' ) ) { $urls[] = array( 'href' => 'https://fonts.gstatic.com', 'crossorigin', ); } else { $urls[] = 'https://fonts.gstatic.com'; } } return $urls;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Error in the code’ is closed to new replies.
