Performance
-
One of the first things we learn when becoming a WordPress developer is how to load scripts and styles using the wp_enqueue_scripts hook. We can take this one step further and, instead of loading these assets on every page, we can conditionally load them only on the pages that need them. This means less things…