add custom stylesheet ¯\_(ツ)_/¯

This commit is contained in:
desmukh
2023-01-21 17:31:45 +05:00
parent c67a53f535
commit 87ca5ee238
2 changed files with 36 additions and 0 deletions

8
functions.php Normal file
View File

@ -0,0 +1,8 @@
<?php
add_action('init', 'custom_stylesheet');
function custom_stylesheet() {
wp_register_style( 'custom-styles', get_template_directory_uri() . '/style.css' );
}
wp_enqueue_style( 'custom-styles' );