How to organize my js files
Generally speaking, combining all of the global scripts will boost performance, but so will enqueueing JS selectively – meaning if a script is only used on one CPT or template, you should only enqueue it there. Look into conditionally enqueueing JS in your functions.php. You can target specific sites by blog_id and target specific post … Read more