A package that allows you to pick icons from with wordplate
Download the icons from https://fontawesome.com and put them in your repository
Then require the package
composer require starring-jane/wordplate-fontawesome-picker
Create a WordplateFontawesomePicker instance in functions.php
and add the path to the icons you just downloaded
use StarringJane\WordplateFontawesomePicker\WordplateFontawesomePicker;
$path_to_icons = '...';
WordplateFontawesomePicker::create($path_to_icons);
use StarringJane\WordplateFontawesomePicker\Fields\IconPicker;
IconPicker::make('Icon')
->instructions('Click to select an icon');
- Jef Vermeire (jef@starringjane.com)
- Maxim Vanhove (maxim@starringjane.com)
Special thanks to the contributors of wordplate for allowing us to create Wordpress websites in a modern development environment