Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joshua David Nelson

    (@joshuadnelson)

    You’ll have to investigate your theme’s files, likely in the functions.php file there will be a script function that should be using wp_enqueue_script. If it’s just outputting the scripts incorrectly then it won’t be using wp_enqueue_script.

    However, it could also be other plugins, if you’re running plugins that put scripts in the header. Again, you’ll have to hunt through the code or contact the theme developer.

    Plugin Author Joshua David Nelson

    (@joshuadnelson)

    It’s likely that somewhere scripts are being printed directly into the wp_head hook instead of using wp_enqueue_script. Could be your theme (in functions.php or a page template file like front-page.php or home.php) or in a plugin.

    Plugin Author Joshua David Nelson

    (@joshuadnelson)

    I’m going to close this since I haven’t heard back, feel free to follow up if you have any other issues.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_enqueue_scripts’ is closed to new replies.