wp_enqueue_script
-
I was using
wp_enqueue_script(‘gmw-fl’, get_template_directory_uri() . ‘/assets/js/f2_locations.js’, array(‘jquery’), GMW_VERSION, true);
to call my own version of f1.js but since downloading the most recent version of geo-my-wp it is being completely ignored and I have had to use
<script type=”text/javascript” src=”<?php echo get_template_directory_uri() . “/assets/js/f2_locations.js”; ?>” ></script>
instead. I was wondering why the wp_enqueue_script is now being ignored, Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘wp_enqueue_script’ is closed to new replies.