Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 511 Bytes

readme.md

File metadata and controls

18 lines (11 loc) · 511 Bytes

WP-FontAwesome

WP-FontAwesome adds Font Awesome to WordPress from Composer.

The main reason for this is to help with dependencies. Instead of having Font Awesome bundled in both a theme and composer module this allows both to require a single module which by registering the styles/scripts itself means no overlap between multiple installs.

Usage

composer require ed-itsolutions/wp-fontawesome
//functions.php, in your wp_enqeue_scripts action:

wp_enqueue_script('font-awesome');