Last update at :2024-06-20,Edit by888u
Most of the time, Snails also prefer to look for free WordPress theme templates overseas. Some friends may have some problems when using the overseas templates they find on their own Chinese websites. For example, if the theme that a netizen is looking for this morning is used on his Chinese website, the title will only display English characters, and the Chinese characters will seem to be replaced. When I look at the code title, there is no problem at all with the call. It should be caused by some JS limitation.
After consulting the information, it turns out that some foreign developers prefer to use Cufon font, which is not supported by default and needs to be restricted by JS, which leads to the reason why Chinese characters cannot be displayed. To solve this problem, we only need to find the restricted JS code and delete it.
How to use: We download the theme locally, and then search for the "Cufon.replace\\" character to find the JS location. For example, I found:
Then we delete and save this file, upload and replace it.
Recommended site searches: US server website, Dongguan server, space service provider, IP address query, site group server, icp registration query network, high-defense US server, space registration, virtual host rental, Chinese domain name registration query,
p>
发表评论