Last active
May 13, 2017 23:32
-
-
Save bonjmartn/bc7f5f3640bfb9899a0d472b39333b1b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 theme_styles() { | |
wp_enqueue_style( 'bootstrap_css', get_template_directory_uri() . '/css/bootstrap-3.3.7.css' ); | |
wp_enqueue_style( 'main_css', get_template_directory_uri() . '/style.css' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'theme_styles'); | |
function theme_js() { | |
global $wp_scripts; | |
wp_enqueue_script( 'bootstrap_js', get_template_directory_uri() . '/js/bootstrap.min.js' ); | |
wp_enqueue_script( 'my_custom_js', get_template_directory_uri() . '/js/scripts.js'); | |
} | |
add_action( 'wp_enqueue_scripts', 'theme_js'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment