Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function mohican_child_theme_enqueue_styles() {
$parent_style = 'mohican-theme-style';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'mohican-child-theme-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get( 'Version' )
);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment