Last active
August 29, 2015 14:14
-
-
Save mauriciogofas/1324e167d9eb0464be8b to your computer and use it in GitHub Desktop.
Import wp theme parent CSS
This file contains hidden or 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
// Import parent CSS | |
add_action( 'wp_enqueue_scripts', 'child_enqueue_styles' ); | |
function child_enqueue_styles() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); | |
} | |
// End Import parent CSS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment