• First off, thank you for this plugin, it’s hugely helpful for me :).

    I build new sites on a fairly regular basis, and each time, I end up having to manually recreate the icon sets that I use in my various Font Awesome ACF fields. Would it be possible to allow these sets to be imported and exported? Or is there a recommended way for creating sets in code that I could build into the same plugin I use to create the ACF field layouts themselves, and have them be generated automatically?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    Hey @alahmnat, I’m glad it has been helpful for you!

    There isn’t exactly a way to import/export those sets. Although if you are technically inclined I suspect it wouldn’t be too hard to find what you need stored in the DB. The custom icons sets are in wp_options (where wp_ is the default table prefix) and there are 2+ optinos to look for. One of them starts with: ACFFA_custom_icon_list_ and then has the FontAwesome version number and the label you gave it appended to it. The other is ACFFA_custom_icon_sets_list and it keeps an inventory of all the custom icon sets you have.

    In theory (I’ve never tested this) you could export those couple rows and import them into your new sites to bring over those sets with minimal work.

    Another thing worth pointing out is that FontAwesome is working on custom subsetting in the FontAwesome “Kits”. So you could use that instead of the custom icon set functionality of this plugin. Last I checked in they are still working on integrating this functionality into the API used by this plugin so it might not be ready for use today, but I suspect it will be soon.

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Import/Export Icon Sets’ is closed to new replies.