Raj

Member

Forum Replies Created

  • In reply to: Google webfonts preventing from getting a good page speed score

    #40221

    Oh, how numb I was!

    I missed that. Now it is working fine, and my page speed score with the child theme is also 100/100.

    However, Prasanna, I have another problem too. The following code gets minified with WP-Minify, and autosearch is not working on a 404 page:

    <script type="text/javascript">

    jQuery(document).ready(function($){

    window.location.replace( "<?php echo $redirect_location; ?>" );

    });

    </script>

    Can you please help me regarding this?

    In reply to: Google webfonts preventing from getting a good page speed score

    #40219

    Prasanna,

    I’m wondering if WP-Minify is optimizing the code even before functions.php of the child theme is pulled in.

    In reply to: Google webfonts preventing from getting a good page speed score

    #40217

    However, the child theme breaks the site! Here is the warning message:

    function graphene_remove_google_webfonts(){ remove_action( ‘wp_head’, ‘graphene_webfont_script’, 5 ); remove_action( ‘admin_head-appearance_page_custom-header’, ‘graphene_webfont_script’ ); } add_action( ‘init’, ‘graphene_remove_google_webfonts’ );

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/example/public_html/blog/wp-content/themes/graphene-child/functions.php:12) in /home/example/public_html/blog/wp-content/plugins/si-contact-form/si-contact-form.php on line 1950

    In reply to: Google webfonts preventing from getting a good page speed score

    #40215

    So, this is a ghost forum! I didn’t know that. Anyway, I removed the code that calls the webfont, and I have a page speed score of 100/100 now.

    Let me hope anybody in need in a similar situation gets this message.

Viewing 4 posts - 1 through 4 (of 4 total)