This commit is contained in:
Roman Pyrih
2026-03-10 12:04:22 +01:00
parent 64c4a90405
commit a3bc03a185
11 changed files with 262 additions and 0 deletions

View File

@@ -271,3 +271,19 @@ if ( ! function_exists( 'hello_elementor_body_open' ) ) {
require HELLO_THEME_PATH . '/theme.php';
HelloTheme\Theme::instance();
add_action( 'wp_enqueue_scripts', function() {
$file_path = get_stylesheet_directory() . '/assets/css/custom.css';
$file_url = get_stylesheet_directory_uri() . '/assets/css/custom.css';
if ( file_exists( $file_path ) ) {
wp_enqueue_style(
'hello-custom-css',
$file_url,
array(),
filemtime( $file_path )
);
}
}, PHP_INT_MAX );