autonomic-block-theme/functions.php

11 lines
261 B
PHP
Raw Normal View History

2023-01-21 12:31:45 +00:00
<?php
add_action('init', 'custom_stylesheet');
function custom_stylesheet() {
wp_register_style( 'custom-styles', get_template_directory_uri() . '/style.css' );
}
2023-02-03 19:01:31 +00:00
wp_enqueue_style( 'custom-styles' );
add_action( 'customize_register', '__return_true' );