Support » Plugin: Scripts To Footer » How do I know if my theme uses wp_enqueue_scripts correctly?

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

    (@joshuadnelson)

    You would have to find the function that registers and enqueues the theme scripts, and you’d have to check your plugins as well. In general, all themes and plugins should be using them correctly – it is outlined as such in the WordPress codex, so it is standard.

    However, not everyone follows standards. Easy way to check would be to install the plugin and activate it, then check to see if all your scripts are at the footer or in the <head> section. Those still in the head are not enqueue properly.

    Thank you, I got all but one plugin functioning again and I will just keep working.

    Plugin Author Joshua David Nelson

    (@joshuadnelson)

    Glad to hear it’s working out! The new version of the plugin allows for you to disable it on specific pages, so, for example, if you have one page with a responsive slider that isn’t working you can disable it there and still have it run elsewhere.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I know if my theme uses wp_enqueue_scripts correctly?’ is closed to new replies.