Dependent Enqueuing of Scripts and Styles in WordPress

In quite a few modern frameworks, it\’s usual that only required scripts/styles are loaded on the pages that actually need it. In WordPress, most plugins or themes just load all the scripts/styles all over the pages – \”just in case\” – Well, optimising for pagespeed can give you great ideas. Why not only load scripts …

Dependent Enqueuing of Scripts and Styles in WordPress Read More »