Skip to content

Commit

Permalink
fix(functions): Load Google Fonts over HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Dec 4, 2018
1 parent 20ddade commit 3512d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/template-tweaks.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function isa_remove_hentry_class($classes)
// Enqueue Google Fonts
function load_fonts()
{
wp_register_style('googleFonts', 'http://fonts.googleapis.com/css?family=Alegreya:400italic,400,700|Alegreya+Sans:400,700');
wp_register_style('googleFonts', 'https://fonts.googleapis.com/css?family=Alegreya:400italic,400,700|Alegreya+Sans:400,700');
wp_enqueue_style('googleFonts');
}
add_action('wp_print_styles', 'load_fonts');

0 comments on commit 3512d7b

Please sign in to comment.