Best way to load stylesheets, scripts and CDN (external files) in functions.php?
I am looking for the best way to load stylesheets, scripts and external files (also stylesheets, fonts, scripts) and CDN from different parties. Such as jQuery.
I’ve seen multiple ways to do this, but now I’m curious what the best way is.
Can someone provide me with an example, what the best way is? Can you please include it with the following: Stylesheets, scripts, external stylesheets and scripts, the jQuery CDN (maybe also another CDN) and a font from Google fonts.
Thank you in advance!