kaioe
9/14/2014 - 6:36 AM

Wordpress: Enqueue global styles and scripts

Wordpress: Enqueue global styles and scripts

// enqueue global styles and scripts
function tp_enqueue_scripts() {
	wp_enqueue_style( 'style', get_stylesheet_uri() );
	wp_enqueue_script( 'scripts', get_template_directory_uri() . '/scripts.js', array( 'jquery' ) ); 
}  
add_action('wp_enqueue_scripts', 'tp_enqueue_scripts');