Hi! We're working on Typekit integration with Kirki.
Is there a way to add a new font group in the typography field?
There're currently Standard Fonts and Google Fonts only. How can we add Typekit Fonts into the Select2?
Thanks!
develop branch
We would also add the Custom Fonts group too for manually uploaded fonts.
We tried to solve this problem. But after saving the field in kirki is empty. Typekit fonts work fine.
Minuses:
@vlthemes I suppose, we're discussing quite different things here. Most likely in your case the font in the customizer is not displayed after saving, because it's not the only font in the 'stack'. It's a known bug in the typography field. You need to remove the comma and 'font_fallback' here: https://github.com/vlthemes/VLThemes-Add-Typekit-fonts-to-Kirki/blob/master/ClassVlthemesAddTypekit.php#L53 to make the font display after saving.
Of course, this bug has to be fixed too, however it's not related to my original post.
What I meant initially in my original post is that we need a filter to add custom groups inside the Select2:

I would appreciate, if @aristath could have a look at both of the issues though.
Thanks!
I meant it. I asked my question in another branch.
Adding extra groups will be done, I just don't know if we'll have time to include it in 3.0.
I want to fix any remaining bugs and get ready to release it, so I'm trying to avoid adding new features at this point unless absolutely necessary.
Chances are this will be in 3.1
How long should we wait for version 3.0?
3.0 will be released next weekend or Monday, and as soon as that is released, work on 3.1 will start. 3.1 won't take too long, version 3.0 was a major rewrite which is why it's taking this long.
Cheers! Thank you so much!
Most helpful comment
We would also add the Custom Fonts group too for manually uploaded fonts.