Created
August 2, 2017 00:24
-
-
Save bryanmonzon/34bea9ca0caad9776f01d3a744cb7298 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
<?php | |
/** | |
* @package Meteor Child Theme | |
*/ | |
/** | |
* Load the parent and child theme styles | |
*/ | |
function meteor_parent_theme_style() { | |
// Parent theme styles | |
wp_enqueue_style( 'meteor-style', get_template_directory_uri(). '/style.css' ); | |
// Child theme styles | |
wp_enqueue_style( 'meteor-child-style', get_stylesheet_directory_uri(). '/style.css' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'meteor_parent_theme_style' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment