carbon-field-icon
carbon-field-icon copied to clipboard
Feature Request: (Easy) Fontello Support
It would be sweet if the Icon Field supported an easy way to use Fontello-created font libraries without the extra config/definitions. Crude example:
->add_fontello_options( get_template_directory() . '/fonts/my_fontello_export/config.json' )
That would make it very simple for folks to use any and all icons that they want/need with one line. And, if you ever add/remove icons from the lib, you just overwrite the source Fontello files - no reconfiguration necessary.
This would also be a value-added feature for end-users of projects created with the Icon Field as well:
- User uploads his/her own icon pack generated with Fontello.
- Plugin/theme extracts the package.
- The plugin/theme that uses the Icon Field points to the resulting
config.jsonfile as a source for user-provided icons.
(# 1 & # 2 would be handled by the developer - The Icon Field would just need to support reading Fontello config.json as a source)
kriesi.at's themes do this via their own proprietary method, and I would love to do the same with CF.
Thank you, Daniel
EDIT: I also have licenses for Font Awesome 5 Pro and IcoMoon (among others), and this method would make it very easy for me to use them with minimal configuration.