An open API service indexing awesome lists of open source software.

https://github.com/ed-itsolutions/wp-fontawesome

Provides FontAwesome in WordPress via composer.
https://github.com/ed-itsolutions/wp-fontawesome

List: wp-fontawesome

Last synced: about 1 month ago
JSON representation

Provides FontAwesome in WordPress via composer.

Awesome Lists containing this project

README

          

# 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
```

```php
//functions.php, in your wp_enqeue_scripts action:

wp_enqueue_script('font-awesome');
```