Not working: wp_enqueue_script
-
Greetings,
None of our scripts, which are registered via wp_enqueue_script, are getting picked up by reBusted!:
wp_enqueue_script( 'main', get_template_directory_uri() . '/js/main.js', array( 'jquery' ) );
All stylesheets do however get picked up. Is there a known issue or are we doing something wrong? Have tried creating minimal examples based off WP Codex and nothing seems to get reBusted! recognizing scripts.
Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Not working: wp_enqueue_script’ is closed to new replies.