Bootstrap Templates Bundle

Friday, January 2, 2015

Enqueue Google Fonts to WordPress Theme

Add This code to your theme functions.php file

// register styles
wp_register_style('googlefont-oswald', 'http://fonts.googleapis.com/css?family=Oswald:400,300,700', array(), false, 'all');

// enqueue styles
wp_enqueue_style('googlefont-oswald');

1 comment:

  1. Nice post i get good exprience from the post... waiting for new one. wordpress is the best CMS i think.

    wordpress tutorials for beginners
    top wordpress plugins

    ReplyDelete

Wokiee React eCommerce Template