Created
October 12, 2016 13:44
-
-
Save sulmanpucit/a2d7e69c2004c659ecd35836bc29ba1a to your computer and use it in GitHub Desktop.
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
function theme_enqueue_styles() { | |
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') ); | |
} | |
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment