functions.php child theme twentyeleven linux07

This commit is contained in:
Rodolphe Robles 2023-12-20 23:42:16 +01:00
parent 1033bda2a1
commit 60cb62ce13

8
functions.php Normal file
View file

@ -0,0 +1,8 @@
<?php
/* enqueue script for parent theme stylesheeet */
function childtheme_parent_styles() {
// enqueue style
wp_enqueue_style( 'parent', get_template_directory_uri().'/style.css' );
}
add_action( 'wp_enqueue_scripts', 'childtheme_parent_styles');