我正在创建 WordPress 主题。但是我遇到了一个有趣的问题。所以,我在编辑器样式中添加了谷歌字体。它在本地主机上正常工作。Bu 不适用于真正的主机。哪里会出问题?我的代码: # Editor Style support # add_theme_support( 'editor-styles' ); # editor assets # add_editor_style(get_template_directory_uri() .'/style-editor.css'); add_editor_style('https://fonts.googleapis.com/css?family=Poppins:400,500,700'); add_editor_style('assets/css/font-awesome-4.css');
1 回答
- 1 回答
- 0 关注
- 112 浏览
添加回答
举报
0/150
提交
取消