Created
August 10, 2017 15:48
-
-
Save ai2ik/7d6d566aa17ac5a23debcc373e537ee8 to your computer and use it in GitHub Desktop.
WP functions for Child theme
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 | |
//* Code goes here | |
add_action('wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); | |
function enqueue_child_theme_styles() { | |
wp_enqueue_style('parent-style', get_template_directory_uri() . '/style.css'); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment