Tagged: x
-
AuthorPosts
-
January 29, 2017 at 2:40 pm #1349854
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!
January 29, 2017 at 9:30 pm #1350201This reply has been marked as private.January 29, 2017 at 11:39 pm #1350284Hello 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.
January 29, 2017 at 11:56 pm #1350298🙁 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
January 30, 2017 at 12:25 am #1350322Hello 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.
-
AuthorPosts