Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1349854

    Rad
    Moderator

    Hi Larry,

    I can still see 404, would you mind providing your FTP login credentials?

    But I don’t see slowness from tracking code, but even if it’s slow, we can’t do anything about it since the script file is stored on the script provider.

    Thanks!

    #1350201

    Larry K
    Participant
    This reply has been marked as private.
    #1350284

    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! Please do update the code in your child theme’s functions.php file. You can make sue of this code instead:

    add_filter( 'x_enqueue_parent_stylesheet', '__return_true' );
    remove_action('wp_head', 'print_emoji_detection_script', 7);
    remove_action('wp_print_styles', 'print_emoji_styles');
    
    add_action( 'wp_print_styles', 'deregister_google_fonts', 100 );
    function deregister_google_fonts() {
      wp_deregister_style( 'x-google-fonts' );
    }

    Please be very careful when copying and pasting of the code. The clipboard sometimes will replace the incorrect PHP quote which would generate an issue and make the functions not to take effect.

    Please let us know how it goes.

    #1350298

    Larry K
    Participant

    🙁 same

    this was gtmetrix response for the 404 item:

    <!DOCTYPE html><html lang=en><head><meta charset=utf-8><title>Error 400 (Font family not found)!!1</title
    ><link href=”//fonts.googleapis.com/css?family=Open+Sans:300,400″ rel=”stylesheet” type=”text/css” /
    ><style>

    ….

    i’m confused why i’m having this issue. wouldn’t like everyone with X be having this issue?
    what am I doing… that most people aren’t?

    thanks

    #1350322

    Rue Nel
    Moderator

    Hello There,

    If you deregister the Google font, it will return an error. Please consider not to remove the Google fonts and see how it goes.

    Hope this helps.