javascript - How to enqueue CSS in WordPress from CDN? - Stack Overflow

PHOTO EMBED

Tue Mar 15 2022 10:08:38 GMT+0000 (UTC)

Saved by @Prowhiz #javascript #wordpress

wp_register_style( 'Font_Awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css' );
wp_enqueue_style('Font_Awesome');
content_copyCOPY

To enqueue style in wordpress

https://stackoverflow.com/questions/40403364/how-to-enqueue-scripts-in-wordpress-from-cdn