Last active
August 29, 2015 14:13
-
-
Save rezzz-dev/e78755986057ad8f18fd to your computer and use it in GitHub Desktop.
Child Theme functions.php
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 | |
/* <name of> child theme */ | |
// Faster than @import | |
add_action( 'wp_enqueue_scripts', 'my_child_theme_scripts' ); | |
function my_child_theme_scripts() { | |
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