Hi @kharlo,
I think the first issue you mentioned may be a bug. It is certainly meant to be able to handle more than one font setting inside a form. I will look into it and get back to you.
As for the second, right now there isn’t an option for this. Would a hook work for you which you can use to manage this? I would rather not add this as a setting.
Let me know 🙂
Daniel
Thread Starter
kharlo
(@kharlo)
Hello Daniel, thanks for your fast reply!
For the first issue, there is a problem while selecting the font. I select in the second field and it updates the first preview.
For the second thing, yes of course a hook would be great!
Thanks!
Im sure the first one is a stupid typo on my end, I’ll take a look and fix it on Monday and add the hook as well 🙂
Daniel
Hi @kharlo,
I had a look and I think the data was already saved properly, it was just the font preview which loaded incorrectly. Regardless, If you use the new version it should now be fixed, take a look 🙂
I also added the acfgfs/font_dropdown_array hook for modifying the dropdown list, take a look in the readme for documentation!
Daniel
Thread Starter
kharlo
(@kharlo)
Hello Daniel!
Thanks for update!
The first issue is solved.
About the hook: I inserted the code you documented in the readme, but I have this error:
Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in […filepath…]/functions.php on line 4
Did I miss something?
Sorry, I forgot to add a semicolon at the end of the first line 🙂 I’ll change it in the documentation in a moment, until then, just add one after the add_filter line 🙂
Daniel