Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('wp_enqueue_scripts','delicious_custom_scripts');
- function delicious_custom_scripts() {
- if(is_page_template('template-carousel.php')) {
- wp_enqueue_script('carousel', get_template_directory_uri() . '/js/jquery.carousel.js', array('jquery'), '0.2.8', false );
- wp_enqueue_script('custom-carousel', get_template_directory_uri() . '/js/custom-carousel.js', array('jquery'), '1.0', false );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement