Skip to main content
1 of 3
evu
  • 319
  • 1
  • 5
  • 13

Benefits to enqueuing site scripts/stylesheets?

I'm aware of a similar question here: What are the benefits of using wp_enqueue_script? -

However, what differs is I'm talking about a site with a pre concatenated/minified stylesheet and site scripts. I only load two js files and one css file. The two JS files are main.js (which contains all general scripts such as toggles, etc) and plugins.js which contains all js plugins I've used. They're both loaded at the end of the document in the footer. I have full control of the theme (from scratch), all plugins and I manually control js/wp plugins.

I do still enque jQuery.

So is there still any benefit to enqueuing scripts when I'm doing it this way?

evu
  • 319
  • 1
  • 5
  • 13