Move fonts to assets and add function to load them.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -8,13 +8,18 @@ function etcskel32m_enqueue_styles() {
|
||||
array(),
|
||||
$theme->parent()->get( 'Version' )
|
||||
);
|
||||
// make child style
|
||||
wp_enqueue_style( 'child-style',
|
||||
get_stylesheet_uri(),
|
||||
array( $parenthandle ),
|
||||
$theme->get( 'Version' )
|
||||
);
|
||||
// fonts
|
||||
wp_enqueue_style( 'etcskel32m_fonts', get_template_directory_uri() . '/assets/fonts/ConcourseOT/concourseot.css', false );
|
||||
}
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'my_custom_fonts' );
|
||||
|
||||
function etcskel32m_widgets_init() {
|
||||
register_sidebar( array(
|
||||
'name' => __( 'Footer Widgets', 'etcskel32m' ),
|
||||
|
Reference in New Issue
Block a user