Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function load_scripts() {
- wp_enqueue_style( 'style-name', get_stylesheet_uri() );
- wp_enqueue_script( 'script-name', get_template_directory_uri() . '/js/myscript.js', array(), '1.0.0', true );
- }
- add_action( 'wp_enqueue_scripts', 'load_scripts' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement