Skip to content

Instantly share code, notes, and snippets.

@mckernanin
Created August 27, 2017 16:11
Show Gist options
  • Save mckernanin/ab2fe83f45112a8b5a50e133bbf3c4ef to your computer and use it in GitHub Desktop.
Save mckernanin/ab2fe83f45112a8b5a50e133bbf3c4ef to your computer and use it in GitHub Desktop.
Enqueueing parent theme styles
<?php
function my_enquee_scripts() {
$label = 'parent-theme-styles';
$fileurl = get_template_directory_uri() . '/style.css';
wp_enqueue_style( $label, $fileurl );
}
add_action( 'wp_enqueue_scripts', 'my_enquee_scripts' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment