1. A good practice here is to make sure you prefix your script handle with your theme or plugin name. For example, instead of googleFonts use theme-slug-googleFonts; this will help to avoid potential conflicts with other themes or plugins that have also tried to take googleFonts for their own use.

  2. Flick

    Thanks for the info :) Never knew this about SSL – learn something new everyday!

  3. Great!

    This script works very good! but when the user enters the site from any browser, without warning (only the symbol appears next to the URL bar), notice to allow loading insecure content. then until the user does not allow upload content, the fonts remain in Times New Roman :(

    Any way to fix this and load the Google Fonts directly without permission browser?

    Thank you very much!

Comments are closed.