Enqueue child styles later in the queue.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Cassowary Rusnov 2022-12-02 10:19:10 -08:00
parent 99e3cf4f7b
commit 0ededa4fbb

View File

@ -1,5 +1,4 @@
<?php <?php
add_action( 'wp_enqueue_scripts', 'etcskel32m_enqueue_styles' );
function etcskel32m_enqueue_styles() { function etcskel32m_enqueue_styles() {
$parenthandle = 'parent-style'; $parenthandle = 'parent-style';
$theme = wp_get_theme(); $theme = wp_get_theme();
@ -20,7 +19,7 @@ function etcskel32m_enqueue_styles() {
wp_enqueue_style( '32m-main-css', $child_directory . '/assets/css/main.css', array(), false ); wp_enqueue_style( '32m-main-css', $child_directory . '/assets/css/main.css', array(), false );
} }
add_action( 'wp_enqueue_scripts', 'my_custom_fonts' ); add_action( 'wp_enqueue_scripts', 'etcskel32m_enqueue_styles', 99);
function etcskel32m_widgets_init() { function etcskel32m_widgets_init() {
register_sidebar( array( register_sidebar( array(