load css file

This commit is contained in:
Aadil Ayub 2024-01-11 11:48:33 +05:00
parent ca69ded645
commit 7fd25bed72
1 changed files with 8 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' );