Last active
September 11, 2023 21:24
-
-
Save Edwardtonnn/15ee3944563426e57a04906e3bda9d87 to your computer and use it in GitHub Desktop.
Genesis Enqueue Styles Function
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
<?php | |
//Do not include opening <?php tag | |
//* Load custom style sheet | |
add_action( 'wp_enqueue_scripts', 'load_styles' ); | |
function load_styles() { | |
wp_enqueue_style( | |
'custom', | |
get_stylesheet_directory_uri() . '/css/custom.css', | |
array(), | |
'1.0.0', | |
false, | |
'all' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment