Skip to content

Instantly share code, notes, and snippets.

@awakekat
Created February 21, 2015 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save awakekat/d9ae6e2724f81ea1f11b to your computer and use it in GitHub Desktop.
Save awakekat/d9ae6e2724f81ea1f11b to your computer and use it in GitHub Desktop.
functions.php enqueueing child theme and fontawesome
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
//* Load Font Awesome
add_action( 'wp_enqueue_scripts', 'enqueue_font_awesome' );
function enqueue_font_awesome() {
wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment