Last active
December 29, 2015 11:19
-
-
Save shazdeh/7663068 to your computer and use it in GitHub Desktop.
Custom theme scripts
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
<?php | |
function custom_theme_enqueue_scripts() { | |
wp_dequeue_script( 'theme-script' ); | |
wp_enqueue_script( 'theme-script', THEME_URI . '/js/themify.custom.script.js', array('jquery'), false, true ); | |
} | |
add_action( 'wp_enqueue_scripts', 'custom_theme_enqueue_scripts', 12 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment