File "functions.php"
Full Path: /home/laciafrdyl/www/wp-content/themes/hello-elementor-child/functions.php
File size: 798 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/*This file is part of hello-elementor-child, hello-elementor child theme.
All functions of this file will be loaded before of parent theme functions.
Learn more at https://codex.wordpress.org/Child_Themes.
Note: this function loads the parent stylesheet before, then child theme stylesheet
(leave it in place unless you know what you are doing.)
*/
function hello_elementor_child_enqueue_child_styles() {
$parent_style = 'parent-style';
wp_enqueue_style($parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style(
'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get('Version') );
}
add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_child_styles' );
/*Write here your own functions */