Skip to content

Instantly share code, notes, and snippets.

@thanh4890
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thanh4890/8969937 to your computer and use it in GitHub Desktop.
Save thanh4890/8969937 to your computer and use it in GitHub Desktop.
https fonts
Open this file: library/front.php
Line 175
Change:
wp_enqueue_script('kopa-google-api', 'http://ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js');
To:
wp_enqueue_script('kopa-google-api', 'https://ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js');
----
Line 228
Change:
$font_url = 'http://fonts.googleapis.com/css?family=' . $temp_font_name . ':300,300italic,400,400italic,700,700italic&subset=latin';
To:
$font_url = 'https://fonts.googleapis.com/css?family=' . $temp_font_name . ':300,300italic,400,400italic,700,700italic&subset=latin';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment