-
-
Save spirokovac/ce1799cac46de6558e87341e8c6f57d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Child Theme Functions File | |
function enqueue_wp_child_theme() { | |
{ | |
//This is your parent stylesheet you can choose to include or exclude this by going to your Child Theme Settings under the "Settings" in your WP Dashboard | |
wp_enqueue_style('parent-css', get_template_directory_uri().'/style.css' ); | |
} | |
//This is your child theme stylesheet = style.css | |
wp_enqueue_style('child-css', get_stylesheet_uri()); | |
wp_enqueue_script('twentynineteen-child-js', './twentynineteen-child/js/script.js', array( 'jquery' ), '1.0', true ); | |
} | |
add_action( 'wp_enqueue_scripts', 'enqueue_wp_child_theme' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment