Created
November 1, 2017 07:50
-
-
Save Shininglow/ecf7794ee918aa2bb82b926174c1e122 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
function example_child_theme_enqueue_styles() { | |
$parent_style = 'example-theme-style'; | |
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); | |
wp_enqueue_style( 'example-child-theme-style', | |
get_stylesheet_directory_uri() . '/style.css', | |
array( $parent_style ), | |
wp_get_theme()->get( 'Version' ) | |
);} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment