<?php add_action( 'wp_enqueue_scripts', '_my_child_theme_styles' ); /** * Enqueue parent theme styles considering styles dependencies. */ function _my_child_theme_styles() { wp_enqueue_style( 'hrb-color', get_template_directory_uri() . "/styles/dark.css", array( 'hrb-styles' ), HRB_VERSION ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( 'hrb-color' ) ); }
There are currently 1 users browsing this thread. (0 members and 1 guests)