function load_google_fonts() { wp_enqueue_style( 'Roboto', esc_url_raw( 'fonts.googleapis.com/css?family=Roboto:300,400|Roboto+Slab:300,400 ) ); } add_action( 'wp_enqueue_scripts', 'load_google_fonts' );