***This is under active development. Use it on production sites at your own risk.
This is a plugin that allows you to use custom font icons (as opposed to just font awesome) in your custom fields.
***This is built to only work with ACFv5
There are 2 options you must set
- Font CSS File Location is a relative path to the css file that has the font classes in your theme.
- CSS Class Prefix (optional) is the font prefix you need to use in the css class (fa) this will default to
fa
- CSS Class Filter (optional) is the class to filter by. It will only show icons that use this class. This will default to icon
Thats it, go use your awesome fonts.
ACF will return a value in this form fa fa-cool-icon
that you can use however you please.
I recommend something like <i class="fa fa-cool-icon"></i>
but it's really up to you.
This is code is released under the MIT License. Sections of it are licensed under other, compatible Open Source licenses.