Archived topic
How to add two or more Google fonts to the font list
3 replies · Started by David on October 14, 2020
In your support page https://docs.generatepress.com/article/customizing-the-google-font-list/ you explain how to add one Google font to the font list.
How would I add two - or more - Google fonts, say the two examples you give: Zilla Slab & David Libre?
I added a new snippet in the same form, but then got the message "Cannot redeclare function za_add_google_fonts." Though I could create a different function name, I would prefer to know how to add them with a single function.
Hi there,
Tom provides an example here:
https://generatepress.com/forums/topic/adding-three-google-fonts/#post-1240833
Thanks, solved.
Glad to hear that!