Support » Theme: Custom Community » non-HTTPS css files

  • Resolved onions2578

    (@onions2578)


    functions file calls non https css files, should be updated in next version

    	if ( ! is_array( $x2_fonts_options ) || is_array( $x2_fonts_options ) && ! in_array( 'Ubuntu+Condensed', $x2_fonts_options ) ) {
    		wp_register_style( 'cc2-default-google-fonts-ubuntu-condensed', 'http://fonts.googleapis.com/css?family=Ubuntu+Condensed' );
    		wp_enqueue_style( 'cc2-default-google-fonts-ubuntu-condensed' );
    	}
    	if ( ! is_array( $x2_fonts_options ) || is_array( $x2_fonts_options ) && ! in_array( 'Pacifico', $x2_fonts_options ) ) {
    		wp_register_style( 'cc2-default-google-fonts-pacifico', 'http://fonts.googleapis.com/css?family=Pacifico' );
    		wp_enqueue_style( 'cc2-default-google-fonts-pacifico' );
    	}
    	if ( ! is_array( $x2_fonts_options ) || is_array( $x2_fonts_options ) && ! in_array( 'Lato', $x2_fonts_options ) ) {
    		wp_register_style( 'cc2-default-google-fonts-lato', 'http://fonts.googleapis.com/css?family=Lato:300' );
    		wp_enqueue_style( 'cc2-default-google-fonts-lato' );
    	}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘non-HTTPS css files’ is closed to new replies.