Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WordPress Child theme functions.php
<?php
function add_parent_styles() {
wp_enqueue_style('parent-style', get_template_directory_uri().'/style.css');
}
add_action('wp_enqueue_scripts', 'add_parent_styles');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.