Skip to content

Commit

Permalink
implemented font display swap for GF
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSibley committed Apr 2, 2020
1 parent 9882eee commit 574b3e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions inc/scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
function ct_apex_load_scripts_styles() {

$font_args = array(
'family' => urlencode( 'Open Sans:400,700|Satisfy' ),
'subset' => urlencode( 'latin,latin-ext' )
'family' => urlencode( 'Open Sans:400,700|Satisfy' ),
'subset' => urlencode( 'latin,latin-ext' ),
'display' => 'swap'
);
$fonts_url = add_query_arg( $font_args, '//fonts.googleapis.com/css' );

Expand Down

0 comments on commit 574b3e0

Please sign in to comment.