carbon-field-icon icon indicating copy to clipboard operation
carbon-field-icon copied to clipboard

Feature Request: (Easy) Fontello Support

Open dmhendricks opened this issue 8 years ago • 0 comments

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:

  1. User uploads his/her own icon pack generated with Fontello.
  2. Plugin/theme extracts the package.
  3. The plugin/theme that uses the Icon Field points to the resulting config.json file 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.

dmhendricks avatar Sep 07 '17 18:09 dmhendricks