enqueue style.css
This commit is contained in:
parent
d5da9033d4
commit
e4e9676864
@ -1,2 +1,10 @@
|
||||
<?php
|
||||
|
||||
function cmt_styles() {
|
||||
wp_register_style( 'custom-styles', get_template_directory_uri() . '/style.css' );
|
||||
|
||||
add_theme_support( 'editor-styles' );
|
||||
add_editor_style( 'style.css' );
|
||||
}
|
||||
add_action( 'after_setup_theme', 'cmt_block_styles' );
|
||||
wp_enqueue_style( 'custom-styles' );
|
Loading…
Reference in New Issue
Block a user