Wordpress My style.css适用于前端,但不适用于管理区域
我在theme中编辑了文件style.css,但它只是帮助前端使用css,而不是后端管理员。 我怎样才能访问后端管理员? 感谢您的functions.php 添加以下内容:Wordpress My style.css适用于前端,但不适用于管理区域,wordpress,Wordpress,我在theme中编辑了文件style.css,但它只是帮助前端使用css,而不是后端管理员。 我怎样才能访问后端管理员? 感谢您的functions.php 添加以下内容: add_action('admin_head', 'my_custom_fonts'); function my_custom_fonts() { echo '<link rel="stylesheet" type="text/css" href="' . get_stylesheet_directory_uri
add_action('admin_head', 'my_custom_fonts');
function my_custom_fonts() {
echo '<link rel="stylesheet" type="text/css" href="' . get_stylesheet_directory_uri() . '/style-admin.css">';
}
add_action('admin_head'、'my_custom_font');
函数my_自定义_字体(){
回声';
}
您能否展示您迄今为止所写的内容,以便我们以正确的方式为您提供指导。