25 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United States
BeverlyCrest says

I want to bring something up since I bought several WP themes here on TF. The most of them use google fonts and maps and I always have to change the google urls from http to https since I am using ssl certificates for the most pages and the browsers are notifying the visitors that the connection is just partially encrypted.

So dear developer please use https instead of http for loading google fonts and goole map elements into your templates. Thanks.

707 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+2 more
ChillThemes says

Perhaps authors using Google Fonts should enqueue them this way:

$protocol = is_ssl() ? 'https' : 'http'; 
wp_enqueue_style( 'google-fonts', "$protocol://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700" );
1246 posts LoveThemes
  • Has referred 100+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
LoveThemes says

Or just use protocol relative URL’s, //fonts.googleapis.com/css?family=Open+Sans

413 posts
  • Has referred 100+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Has been part of the Envato Community for over 3 years
+2 more
mitdralla says

Or just use protocol relative URL’s, //fonts.googleapis.com/css?family=Open+Sans

+1

by
by
by
by
by
by