0
  1. How can make sure that java script minification in wordpress does not create issues once it is done in theme development point of view?
  2. Does wp-enqueque script order matter in minification process?

Thanks

1

Ad1. Just after make minification, do some tests with development tools (F12 in FF) There is a console where you will see all errors, warning etc. If something went wrong, you'll see it

https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Opening_the_Web_Console


Ad2. Hard to say because every case is different but sometimes it's matter. Which plugin do you use for that? For example in W3 Total Cache you have an option which let you make order of your scripts for minification

  • hi, thanks for the response. some scripts may require jquery some may not(we specify it in wp enqueue as an array) .. won't it get effected? how does wp developer handles it? – Latheesh V M Villa Jul 30 '18 at 5:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.