• Resolved artcoder

    (@artcoder)


    When I switch to the default theme, it works. When I switched to my custom theme, the wp_enqueue_script fails to add the javascript at the bottom of the page.

    I can not find what difference in the theme files that would cause wp_enqueue_script to fail. Any ideas would be appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter artcoder

    (@artcoder)

    I was missing the <?php wp_footer(); ?> in the custom theme. That way why it didn’t work.

Viewing 1 replies (of 1 total)
  • The topic ‘What in a theme will break wp_enqueue_script?’ is closed to new replies.