Skapade stöd för theme.css i temat
This commit is contained in:
9
functions.php
Normal file
9
functions.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
add_action('wp_enqueue_scripts', function() {
|
||||
wp_enqueue_style(
|
||||
'my-theme-custom',
|
||||
get_theme_file_uri('theme.css'),
|
||||
array(),
|
||||
filemtime(get_theme_file_path('theme.css'))
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user