In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
I would like to share with you how to check whether your website contains Google fonts. I believe most people don't know much about it, so share this article for your reference. I hope you will learn a lot after reading this article. Let's learn about it!
How to check whether your website contains Google fonts
First, open FireFox or Chrome and enter stealth mode. Firefox can use the shortcut key Ctrl+Alt+P,Chrome or use the shortcut key Ctrl+Alt+N.
Second, enter developer mode, where both browsers can be accessed using the shortcut Ctrl+Alt+N. Here we take FireFox as an example.
Then visit your website, sort the loaded content by domain name at the bottom of the window, and you can see the content of 'fonts.googleapis.com'', which means that your WordPress does refer to Google fonts.
In Chrome, it looks like this:
Optimize Google font scheme 1:
Install plug-ins, this is the most simple and direct method, more suitable for beginners. Search for 'disable Google fonts',' in the WordPress background and a bunch of plug-ins will come out. The top two plug-ins are "Disable Google Fonts" and "Remove Google Fonts References". Testing the "Remove Google Fonts Reference" plug-in is more effective.
Optimize Google font scheme 2:
Modify the WordPress code. If you can modify your WP code through FTP or an online file editor, this is an effective way. Don't worry about the novice webmaster, even if you don't have any code foundation, just follow the tutorial step by step. Open the wp-includes/scriptes-loader.php file, if you download it locally through FTP, it is recommended to use notepad++ to open it. Replace googleapis with useso with Ctrl+H full text, and then save the upload overwrite source file.
The ultimate solution:
If all the above methods fail, there is a simple and rude way to package and download all WP files locally, of course, the uploads folder under wp-content may not be used. Then use the notepad++ "File Lookup" feature to replace all googleapis with useso, and then upload and overwrite the modified file.
However, if you use CDN acceleration, or any cache plug-ins, clear the cache after modification, especially plug-ins such as wp-total-cache.
The above is all the contents of the article "how to check whether your website contains Google fonts". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.