Created
June 15, 2016 13:12
-
-
Save theukedge/76e309e261d5d03e668f9952ba0538eb 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 function load_parent_theme_css() { | |
$parentcss = get_template_directory() . '/style.css'; | |
wp_enqueue_style( | |
'parent-theme', | |
get_template_directory_uri() . '/style.css', | |
array(), | |
filemtime( $parentcss ) | |
); | |
} | |
add_action( 'wp_enqueue_scripts', 'load_parent_theme_css', 11 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment