• Hey guys,

    I’m having a lot of trouble using the wp_enqueue_script.

    I’m trying to call in a JavaScript i made using php, because it seems to be conflicting with the slider on my site. This is the code i thought would work. Why doesn’t it?

    <?php wp_enqueue_script(‘$src’, ‘wp-content/themes/creativepress/js/thing.js’?>

    Thanks for your help

    -Sam

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Trouble using wp_enqueue_script’ is closed to new replies.