jebu1104
12/7/2015 - 4:04 PM

Place this code in functions file and then create an application.js in /js.

Place this code in functions file and then create an application.js in /js.

function theme_js() {
    wp_enqueue_script( 'theme_js', get_stylesheet_directory_uri() . '/js/application.js', array( 'jquery' ), '1.0', true );
}

add_action('wp_enqueue_scripts', 'theme_js');