An easy one-liner to properly enqueue Google fonts in functions.php
wp_enqueue_style( 'css-google-fonts', '//fonts.googleapis.com/css?family=Lato:300,400,400i,700|Poppins:300,400,500,600,700|PT+Serif:400,400i&display=swap', array(), null );
WordPress websites and SEO themes built on ultrafast web hosting
Tring Web Design
8 Station Road,
Tring,
Hertfordshire,
HP23 4QS
+44 (0) 1442 800 500
info@tringwebdesign.co.uk
An easy one-liner to properly enqueue Google fonts in functions.php
wp_enqueue_style( 'css-google-fonts', '//fonts.googleapis.com/css?family=Lato:300,400,400i,700|Poppins:300,400,500,600,700|PT+Serif:400,400i&display=swap', array(), null );