cmt-engineering-theme/functions.php

10 lines
285 B
PHP
Raw Normal View History

2024-04-25 08:14:53 +00:00
<?php
2024-04-25 11:32:31 +00:00
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' );