Created
April 13, 2019 19:47
-
-
Save mpaccione/854d1ced3f2330850449ff5df5d97b96 to your computer and use it in GitHub Desktop.
Function.php
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
// ENQUEUE FILES | |
add_action('wp_enqueue_scripts', 'enqueue_func'); | |
function enqueue_func() { | |
wp_register_style( 'styles', get_template_directory_uri().'/css/styles.css' ); | |
wp_register_style( 'bootstrapAndStyles', get_template_directory_uri().'/css/assets.css' ); | |
wp_enqueue_script( 'jquery' ); | |
wp_register_script( 'archive-script', get_template_directory_uri().'/js/index.js', array("jquery"), null, true ); | |
wp_enqueue_script( 'archive-script' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment