我在中注册样式function.php
具有
function my_scripts() {
wp_deregister_style( \'header\' );
wp_register_style( \'header\', get_template_directory_uri() . \'/css/header.css\' );
wp_enqueue_style( \'header\' );
}
add_action( \'wp_enqueue_scripts\', \'my_style_sheets\' );
我想对同一个标题使用不同的标题样式表。在另一个页面上使用的php文件。我该怎么做?一般来说,如何使用按模板区分的样式,而不是使用如上所述的全局设置?