Last active
April 2, 2019 20:08
-
-
Save gofishwbeeler/f2ae5dec345a4e26fd31c526b57d774b to your computer and use it in GitHub Desktop.
Loads a specific stylesheet for your Wordpress theme
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
function gfd_stylesheets() | |
{ | |
wp_enqueue_style('my-theme-css', get_template_directory_uri() . '/styles.css', array(), '1.0.0', 'all'); | |
} | |
add_action('wp_print_styles', 'gfd_stylesheets', PHP_INT_MAX); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment