• Resolved Clement Gonnet

    (@renoovodesign)


    This plugin is loading unnecessary fonts.
    They are causing mixed content issues:
    "This page was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C700italic%2C400%2C700%2C300&ver=4.7.5'. This request has been blocked; the content must be served over HTTPS."

    Temporary fix to unload the two unnecessary fonts. To add to your child them functions.php:

    add_action( 'init', 'init_remove_carousel_ultimate_fonts' );
    function init_remove_carousel_ultimate_fonts(){
    	remove_action( 'wp_enqueue_scripts', 'tp_ultimate_add_google_fonts' );
    }

    Author, please can you fix your code?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Themepoints

    (@themepoints)

    Hi,
    Thanks for your information. we already resolved this issues . feel free to check it again & inform us if need any improvement.

    Regards

    Thread Starter Clement Gonnet

    (@renoovodesign)

    Thanks @themepoints, but what’s the Tangerine font for?

    Plugin Author Themepoints

    (@themepoints)

    Hi @renoovodesign,
    it’s our mistake. someone request us to add this two fonts but mistakenly we added this all versions.

    Regards
    Themepoints

    Thread Starter Clement Gonnet

    (@renoovodesign)

    I’m using v1.6.
    Those two fonts have been added back to your plugin it seems:

    function tp_ultimate_add_google_fonts() {
    
    wp_enqueue_style( 'example-google-fonts1', 'https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,700,300', false );
    wp_enqueue_style( 'example-google-fonts2', 'https://fonts.googleapis.com/css?family=Tangerine', false ); 
    }
    add_action( 'wp_enqueue_scripts', 'tp_ultimate_add_google_fonts' );
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fonts loaded – causing mixed-content security issues’ is closed to new replies.