Support » Plugin: WP Back Button » Loading Google Fonts

  • Lines 121 & 123 of the wp-back-button.php file register the styles to enqueue the google fonts. Because they are coded as http:// if the site is setup on https:// the browser may not load the scripts or label the reference to the CSS as unsafe.

    Ideally this would load over http and https without any issues and based on how the site was requested.

    If changed to:
    wp_register_style( ‘googleFonts1’, ‘//,500,600,bold’);
    wp_register_style( ‘googleFonts2’, ‘//,bold’);

    This way the protocol will be inherited from how the site was loaded instead of always being http.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Loading Google Fonts’ is closed to new replies.