load google webfonts

// Add Google webfonts function load_fonts() { wp_register_style('googleFonts', 'https://fonts.googleapis.com/css?family=Comfortaa:400|Fredericka+the+Great|Work+Sans:400,700'); wp_enqueue_style( 'googleFonts'); } add_action('wp_print_styles', 'load_fonts');
As far as I gathered, this seems to be the cleanest and swiftest method available. Simply paste the complete URL below.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.