Skip to content

Instantly share code, notes, and snippets.

@celticwebdesign
Created May 28, 2018 20:15
Show Gist options
  • Save celticwebdesign/277723739a777af41b52935630621435 to your computer and use it in GitHub Desktop.
Save celticwebdesign/277723739a777af41b52935630621435 to your computer and use it in GitHub Desktop.
Adding a non-sass css file to functions.php
function ascendia_scripts() {
wp_enqueue_style( 'ascendia-style', get_stylesheet_uri() );
wp_enqueue_style( 'ascendia-style-non-sass', get_template_directory_uri() . '/style-non-sass.css', array(), '20171001', 'all' );
}
add_action( 'wp_enqueue_scripts', 'ascendia_scripts' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment