-
Hi, i have a custom js file under HighendWP/Scripts/
i add below codes in function.php:
function wptuts_scripts_basic(){
wp_register_script(‘customjs’,’urltomyjsfile’,array(‘jquery’));
wp_enqueue_script(‘customjs’);
}
add_action(‘wp_enqueue_scripts’,’wptuts_scripts_basic’);But i can’t find the script showing on my home page, could you pls kindly advise? is there a confliction here?
-
HB-Themes support team typically replies to all topics within 48 hours except on weekends and public holidays. You must register to post topics.
Forum Categories
- Highend WP Theme 25,509
- Aegaeus WP Theme 1,616
- Requests and Feedback 133