问题:控制台日志:
阻止跨源请求:同源策略不允许读取xxx处的远程资源。(原因:缺少CORS标题“Access Control Allow Origin”)。
解决方案:
将以下标题添加到。htaccess文件:
# https://wordpress.org/support/topic/font-awesome-not-working?replies=8#post-4921179
# Allow icon font to load on subdomains of WordPress multisite install.
<FilesMatch ".(ttf|otf|woff)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
。。。之前:
# END WordPress