Instantly share code, notes, and snippets.

Embed
What would you like to do?
Skeleton functions.php For Child WordPress Theme
<?php
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
function my_theme_enqueue_styles() {
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