Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/**
* Proper way to enqueue scripts and styles
*/
function ah_font_awesome_style() {
wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/font-awesome.min.css' );
}
add_action( 'wp_enqueue_scripts', 'ah_font_awesome_style' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.