Add Font Awesome To Wordpress Theme

If you want to add Font Awesome to a WordPress theme, you can use this code snippet. All you have to do is to add this lines to your functions.php of your theme:

add_action( 'wp_enqueue_scripts', function () {
	wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css' );
} );