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.
- Host: GitHub
- URL: https://github.com/ed-itsolutions/wp-fontawesome
- Owner: Ed-ITSolutions
- Created: 2021-03-02T10:59:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-09T09:20:43.000Z (over 3 years ago)
- Last Synced: 2024-04-10T13:58:38.770Z (about 2 years ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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');
```