Created
September 8, 2018 20:56
-
-
Save Edwardtonnn/d6b98bc8bd5c3d4ce13a74af2b122787 to your computer and use it in GitHub Desktop.
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 | |
add_action ('wp_enqueue_scripts', 'load_custom_styles'); | |
function load_custom_styles() { | |
wp_enqueue_style( | |
'custom', | |
get_template_directory_uri() . '/css/custom.css' | |
); | |
wp_enqueue_script( | |
'custom-script', | |
get_template_directory_uri() . '/js/custom.js', | |
array ( 'jquery' ), | |
false, | |
"all"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment